❯ plz run //components/prometheus:deploy
- Creates
observability
namespace - Deploys the Prometheus Operator
- Deploys a Grafana
- Deploys a Alertmanager
Verify pods are healthy:
❯ kubectl -n observability get pods
NAME READY STATUS RESTARTS AGE
alertmanager-prometheus-helm-prometheus-alertmanager-0 2/2 Running 0 6s
prometheus-helm-grafana-5fc87c9979-vszqg 2/2 Running 0 76s
prometheus-helm-grafana-test 0/1 Completed 0 23s
prometheus-helm-kube-state-metrics-6cbf48fd46-8qzff 1/1 Running 0 75s
prometheus-helm-prometheus-admission-create-ldjmd 0/1 Completed 0 23s
prometheus-helm-prometheus-admission-patch-kk4fx 0/1 Completed 1 23s
prometheus-helm-prometheus-node-exporter-pppzv 1/1 Running 0 76s
prometheus-helm-prometheus-operator-d5c9f5675-dh5kd 2/2 Running 0 75s
❯ plz run //components/prometheus:ui
- Forwards the Prometheus Service to http://127.0.0.1:9090
- Forwards the Grafana UI to http://127.0.0.1:9191
- Forwards the Alertmanager Service to http://127.0.0.1:9093