Skip to content

Latest commit

 

History

History

observability

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Prometheus Setup

Deploy Prometheus/Grafana/Alertmanager

❯ 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

Access UIs

❯ plz run //components/prometheus:ui

References