Skip to content

Metrics

Grafana

Install helm chart

For settings see: Helm Chart Values

Prometheus-community stack

  • Add and update the prometheus-community repo
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts && \
helm repo update
  • Install / Deploy it with helm
# For new install
helm install prometheus-stack --version 35.3.1 -f prometheus-values.yaml prometheus-community/kube-prometheus-stack
# Or e.g. after updating values
helm upgrade prometheus-stack --version 35.3.1 -f prometheus-values.yaml prometheus-community/kube-prometheus-stack

Ingresses

  • Alertmanager (alert-manager.dog.example.com)
cat alert-manager-ingress.yaml | envsubst | kubectl apply -f -
  • Prometheus (prometheus.dog.example.com)
cat prometheus-ingress.yaml | envsubst | kubectl apply -f -
  • Grafana (grafana.dog.example.com)
cat grafana-ingress.yaml | envsubst | kubectl apply -f -

Traefik service monitor

cat traefik-service-monitor.yaml | envsubst | kubectl apply -f -

Traefik dashboard service

cat traefik-dashboard-service.yaml | envsubst | kubectl apply -f -

Traefik grafana dashboard

kubectl apply -f traefik-dashboard.yaml

Done