Index Keywords

↶ Return

Cluster Monitoring Setup using Grafana

Requirements

This tutorial assumes you have a running Kubernetes cluster.

  1. Log into the master node using the root user account.

  2. Perform the following updates/installations:

1
2
# apt update
# apt install -y build-essential golang

Steps [1] [2] [3] [4]

Download or clone the cluster-monitoring project.

1
2
3
# git clone https://github.com/carlosedp/cluster-monitoring
# cd cluster-monitoring
# make vendor

Wait for command to complete. Then run, make

1
# make

Wait for this to complete creating manifest files.

Now apply the setup manifests.

1
2
# kubectl apply -f manifests/setup/
# kubectl apply -f manifests/

View status.

1
# kubectl get pods -n monitoring

Watch status until complete.

1
# watch kubectl get pods -n monitoring

  1. carlosedp cluster-monitoring ↩︎

  2. Raspberry Pi Cluster Episode 4 - Minecraft, Pi-hole, Grafana and More! ↩︎

  3. Jeff Geerling - Turing Pi Cluster ↩︎

  4. Jeff Geerling - Raspberry Pi Cluster Ep 4 - Minecraft, Pi-hole, Grafana + MORE! ↩︎