Skip to main content

Setup Prometheus monitoring on Kubernetes using Grafana

· One min read
Mohammad Zakery

Prometheus on Kubernetes using Grafana

Prometheus K8S


1.Install Helm on your local client.

2.Add the Helm Stable Charts.

helm repo add stable

3.Add prometheus Helm repo.

helm repo add prometheus-community

4.Create Prometheus namespace.

kubectl create namespace prometheus

5.Install kube-prometheus-stack.

helm install stable prometheus-community/kube-prometheus-stack -n prometheus

6.Verify that Prometheus and Grafana have been installed successfully.

kubectl get pods -n prometheus
kubectl get svc -n prometheus