Kubernetes Cluster monitoring with Grafana

Architecture Diagram

Prerequisites

  • Kubernetes Cluster

Install Helm

https://docs.aws.amazon.com/eks/latest/userguide/helm.html

Install Kubectl

https://docs.aws.amazon.com/eks/latest/userguide/install-kubectl.html

Add Repositories

helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo add stable https://charts.helm.sh/stable

Update Helm repositories

helm repo update

Install Prometheus Kubernetes

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

Kubernetes Prometheus Port Forward

kubectl port-forward deployment/prometheus-grafana 3000

Log in to Grafana

Open your favourite browser and open localhost:3000. Since you are logging in for the first time, you will have to use a default username and password. However, you can create new users and update passwords later. Use the default credentials for now:

username: admin
password: prom-operator


Project Tracker

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top