Running Kubernetes without monitoring is like driving with your eyes closed. The standard stack is Prometheus for metrics and Grafana for visualization.
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm install monitoring prometheus-community/kube-prometheus-stack \
--namespace monitoring --create-namespace
kubectl port-forward svc/monitoring-grafana 3000:80 -n monitoring
# Login: admin / prom-operator
The kube-prometheus-stack installs Prometheus, Grafana, Alertmanager, and pre-built dashboards. Within five minutes you have production-grade monitoring. Your applications should expose custom metrics through a /metrics endpoint. Configure Alertmanager to send notifications when things go wrong.
In Part 12, we put everything together in a complete production deployment.
← Back to Blog