DevOpsBootcampUPES

Prometheus on K8S

Prometheus Prometheus is a monitoring platform that collects metrics from monitored targets by scraping metrics HTTP endpoints on these targets. Prometheus is shipped with an extensive list of exporters. An exporter is a pluggable piece which allow Prometheus to collect metrics from other system (e.g. databases, cloud services, OS etc..). Some exporters are official, others developed by the community.

  1. Deploy Prometheus using the community Helm chart.
  2. Deploy Grafana and visit the server.
  3. In grafana, configure the Prometheus server as a data source.
  4. Import one of the following dashboards:
    • https://grafana.com/grafana/dashboards/6417-kubernetes-cluster-prometheus/
    • https://grafana.com/grafana/dashboards/315-kubernetes-cluster-monitoring-via-prometheus/
    • https://grafana.com/grafana/dashboards/12740-kubernetes-monitoring/