Create Prometheus Environment
This guide shows how to create a Prometheus monitoring environment as part of your Kubernetes cluster.
Prometheus works hand in hand with an API Gateway component. Below, we demonstrate this using Ambassador. You can provide the host URL and Prometheus, Grafana and Alert Manager will be available at that URL.
SDK Availability
Prometheus monitoring is currently supported in the Java SDK only. Support for the TypeScript SDK and Terraform Provider is planned.
Cloud provider guides
| Provider | Kubernetes Service | Guide |
|---|---|---|
| Microsoft Azure | AKS (Azure Kubernetes Service) | Prometheus in AKS |
| Google Cloud Platform | GKE (Google Kubernetes Engine) | Prometheus in GKE |
Prerequisites
The Prometheus operator requires the following images:
- quay.io/prometheus-operator/prometheus-operator:v0.53.1
- quay.io/brancz/kube-rbac-proxy:v0.11.0
- quay.io/prometheus/blackbox-exporter:v0.19.0
- jimmidyson/configmap-reload:v0.5.0
- grafana/grafana:8.5.0
- k8s.gcr.io/kube-state-metrics/kube-state-metrics:v2.3.0
- willdockerhub/prometheus-adapter:v0.9.1
- quay.io/prometheus/prometheus:v2.35.0
- quay.io/prometheus-operator/prometheus-config-reloader:v0.53.1
- prom/node-exporter:v1.3.1
- prom/alertmanager:v0.24.0
If they are missing in the Fractal container registry, they must be pushed. See the vendor-specific guides for image push instructions.