Skip to content
loading...

Deploy Prometheus + Grafana to Kubernetes by Helm 3

twitter logo github logo ・1 min read  

Make your own Prometheus + Grafana in kubernetes cluster and start monitoring it in some minutes😌

Add repository of stable charts

Helm3 has not default repository.

helm repo add stable https://kubernetes-charts.storage.googleapis.com

Install prometheus-operator

helm install my-prometheus-operator stable/prometheus-operator

Show pods

kubectl --namespace default get pods -l "release=my-prometheus-operator"

Show Grafana UI

kubectl port-forward $(kubectl get pods --selector=app=grafana --output=jsonpath="{.items..metadata.name}") 3000

Open it http://localhost:3000/

twitter logo DISCUSS (2)
markdown guide
 

did someone solve this -> is.gd/XFgee6 ?
cause I'm still getting those errors, and the installation does not work properly after.

 

Simple and easy but would be worth to mention default credentials for Grafana: login/pass: admin/prom-operator

Classic DEV Post from Oct 3 '19

Let's Talk About Passion

Too many articles offer misguided advice on passion. Let's set the record straight. Here's a more nuanced view on passion, which I hope will be encouraging in its own right too.

reoring profile image
CEO at Craftsman Software, inc | Web testing automation: ShouldBee shouldbee.at | Schoo teacher | YYPHP | Big fan of DDD | IDDD