Skip to content

Instantly share code, notes, and snippets.

@erangaeb
Last active December 3, 2022 18:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erangaeb/fa0f786395ebd466ebe5975bc836e082 to your computer and use it in GitHub Desktop.
Save erangaeb/fa0f786395ebd466ebe5975bc836e082 to your computer and use it in GitHub Desktop.
install prometheus with helm chart
# add helm repository
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update
# install prometheus with helm chart
helm install prom prometheus-community/kube-prometheus-stack --values values-prometheus.yaml
# running pods
# chart installs additional, dependent charts
# - prometheus-community/kube-state-metrics
# - prometheus-community/prometheus-node-exporter
# - grafana/grafana
❯❯ kubectl get pods
NAME READY STATUS RESTARTS AGE
alertmanager-prom-kube-prometheus-stack-alertmanager-0 2/2 Running 1 (8s ago) 11s
black-prometheus-blackbox-exporter-66d48cc898-d9n79 1/1 Running 0 26m
prom-grafana-6f4c46c474-99fjh 2/3 Running 0 13s
prom-kube-prometheus-stack-operator-54b5f6889d-pk7nq 1/1 Running 0 13s
prom-kube-state-metrics-5b6886fb94-vqbhc 1/1 Running 0 13s
prom-prometheus-node-exporter-t6clr 1/1 Running 0 13s
prometheus-prom-kube-prometheus-stack-prometheus-0 1/2 Running 0 10s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment