Monitoring#
Metrics#
The kube-prometheus-stack helm chart pre-configures the following components:
- Prometheus (Operator)
- Grafana
- Node Exporter
- Alertmanager
- kube-state-metrics
Additionally the Alertmanager sends alerts via webhook to the ntfy-alertmanager which forwards it to a selfhosted ntfy.sh instance.
The encrypted config-file from the ntfy-alertmanager is basically this.
More information can be found in the ntfy-alertmanager config documentation.
Logging#
Loki and promtail are used as pod log collector. The grafan helm repository provides multiple loki charts. loki-stack
is outdated and shouldn't be used. The other interesting charts are grafana/loki (SSD Mode) and grafan/loki-distributed (microservice mode). More information on the modes (SSD vs. microservices): https://grafana.com/docs/loki/latest/get-started/deployment-modes/. This repository uses the SSD mode.