Prometheus and Grafana Over Kubernetes

ADARSH KUMAR
2 min readJul 26, 2020

--

Integrate Prometheus and Grafana and perform in following way:
1. Deploy them as pods on top of Kubernetes by creating resources Deployment, ReplicaSet, Pods or Services
2. And make their data to be remain persistent
3. And both of them should be exposed to outside world

Creating the configmap of prometheus

The pvc for prometheus

Now Creating prometheus Deployment and service

Now our prometheus is exposed to the world

Now the deployment and service of grafana

and the pvc attached with it

Now we have exposes the grafana .

Thank you!!

--

--