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 😉

IT

javier mugueta View All →

Me and my circumstance

1 Comment Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

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

%d bloggers like this: