Member-only story
Raspberry Pi (k3s) Monitoring: Prometheus + Grafana, the Pi-friendly way
Why this guide?
Running a full monitoring stack on a Raspberry Pi is totally doable — as long as you keep it lean. This guide installs kube-prometheus-stack (Prometheus, Alertmanager, exporters) with Grafana, tuned for tiny hardware.
What you’ll get
- Prometheus scraping your k3s cluster
- Grafana dashboards (admin/admin by default)
- Light resource footprint (safe for a Pi)
- Easy uninstall/cleanup at the end
0) Prereqs
- k3s running on your Pi (
kubectl get nodesworks) - Your non-root user (e.g.,
yisusvii) has kubeconfig at~/.kube/config - Helm 3 installed
curl -fsSL https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bashTip: if
helmorkubectlcomplains aboutlocalhost:8080, copy/etc/rancher/k3s/k3s.yamlto~/.kube/config,chownit to your user, and replace127.0.0.1with your Pi’s LAN IP (e.g.,192.168.50.10).
1) Add the Helm repo and create a namespace
kubectl create namespace monitoring
helm repo add prometheus-community…