Prometheus Open Cloud Service

Tectonic’s Prometheus Open Cloud Service provides a one-click, fully managed, application monitoring and metrics stack for both operations and applications teams on-top of a Tectonic cluster. Use Prometheus’s Alertmanager to route, email, page, or message teams when something goes wrong with an application or the container infrastructure. Prometheus OCS is:

Highly available: Configure redundancy to ensure important metrics are never missed in production or save resources in development environments by running a single instance.

Kubernetes Native: Use native Kubernetes paradigms like Pod label selectors and automatically track all application containers even as they are upgraded, destroyed, or rescheduled.

Allows you to deploy and manage Prometheus instance into any namespace.

Deploying Prometheus OCS

Use Tectonic Console to enable the Prometheus OCS for selected namespaces. For more information on enabling the Prometheus OCS and creating instances, see Working with Open Cloud Services.

By default, objects created using the Prometheus OCS will be labeled prometheus=k8s.

Using the Prometheus Open Cloud Service to deploy a Prometheus instance will create the following Kubernetes objects:

A Prometheus CRD

A Prometheus Service Monitor

A Prometheus Stateful Set

A Prometheus Secret

Ingesting metrics

Prometheus Open Cloud Service will not enable Ingress for the cluster. First configure Ingress to access the Prometheus UI.

Once enabled, go to https://{your-cluster-dns}/prometheus to access Prometheus monitoring for the cluster. Select Status > Targets to confirm that Prometheus is correctly configured and ingesting metrics.

Using Alertmanager

Use the built-in Tectonic Alertmanager with the Prometheus OCS. Alertmanagers should be shared between Prometheus instances.

For Service discovery, the Prometheus Pod must have permission to access the Kubernetes API in the tectonic-system namespace. Follow the instructions in Application Monitoring to create a ClusterRoleBinding to bind the available ClusterRole to an appropriate ServiceAccount. Using Tectonic Console to create a Prometheus instance will automatically generate the required ClusterRoleBinding.