Prometheus Installation with Helm
Jump to navigation
Jump to search
External
- https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack
- https://github.com/prometheus-operator/kube-prometheus
Internal
Overview
Installs Prometheus, Grafana, etc.
Install
Install the "kube-prometheus-stack" Helm chart.
Various walkthroughs seem to prefer to name the Prometheus namespace "prom". We shall use this conventions.
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo add stable https://kubernetes-charts.storage.googleapis.com/
helm repo update
helm install -n prom prometheus prometheus-community/kube-prometheus-stack
Post-Install
- Expose Prometheus console in Kubernetes
- Expose Grafana locally over a LoadBalancer service
- Recover (or change) Grafana password
Uninstall
helm uninstall -n prometheus prometheus