Configuring Grafana for Oracle Kubernetes Engine


apple devices books business coffee
Photo by Serpstat on Pexels.com

INSTALL GRAFANA LOCALLY

brew install grafana

http://localhost:3000

INSTALL K8S PLUGIN FOR GRAFANA

grafana-cli plugins install grafana-kubernetes-app

brew services restart grafana

INSTALL PROMETHEUS ON OKE

helm install --name my-prometheus stable/prometheus

export POD_NAME=$(kubectl get pods --namespace default -l "app=prometheus,component=server" -o jsonpath="{.items[0].metadata.name}")

kubectl --namespace default port-forward $POD_NAME 9090

CONFIGURE PROMETHEUS DATASOURCE

prom

CONFIGURE K8S DATASOURCE

k8s.png

USE IT

This slideshow requires JavaScript.

That’s all!

Enjoy 😉

3 Comments

  1. Javier

    Creo que a este articulo le falta un prerrequisitos, necesitas tener esto esto y esto antes de empezar…. puedes ver tal tutorial donde explico los pasos previos…. y algo de literatura… sin ser manuales infumables, pero algo más detallado aunque liviano…

    Like

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.