Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Latest commit

 

History

History
26 lines (19 loc) · 1 KB

13-cluster-monitoring.md

File metadata and controls

26 lines (19 loc) · 1 KB

Cluster Monitoring

We finally want Cluster Monitoring to see the status of all nodes, machine etc. For that purpose we utilize Prometheus, the Alertmanager and Grafana.

Setup

To deploy the monitoring setup, simply run the root of this repository:

export KUBECONFIG=<path>          # defaults to "~/.kube/config"
SupportingServices/Monitoring/kube-prometheus/hack/cluster-monitoring/deploy

This will deploy all necessary services in the monitoring namespace and allow you to access them through kubectl proxy

Change Alertmanager Config

  1. Make your changes to SupportingServices/Monitoring/kube-prometheus/assets/alertmanager/alertmanager.yaml
  2. Run SupportingServices/Monitoring/kube-prometheus/hack/scripts/generate-alertmanager-config-secret.sh
  3. Update SupportingServices/Monitoring/kube-prometheus/manifests/alertmanager/alertmanager-config.yaml with the result
  4. kubectl apply alertmanager-config.yaml to the 'monitoring' namespace