Prometheus Installation with Helm

From NovaOrdis Knowledge Base
Revision as of 05:32, 16 October 2020 by Ovidiu (talk | contribs) (→‎Post-Install)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

External

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

kubectl create ns prom
helm install -n prom prometheus prometheus-community/kube-prometheus-stack

Optionally, perform the post-install steps.

Post-Install

Uninstall

helm uninstall -n prom prometheus