Skip to content

Files

All configuration files for the monitoring stack of Week 5. The source code is on GitHub.


Assignment (school material)

Original files from the teacher, including deprecated charts (Promtail, loki-distributed).

FileDescription
setup-loki-prometheus-grafana.shInstalls the monitoring stack via Helm: Loki (loki-distributed), Promtail, and a standalone Grafana.
loki-values.yamlHelm values for grafana/loki-distributed (deprecated).
prometheus-values.yamlHelm values for prometheus-community/kube-prometheus-stack.
grafana-values.yamlHelm values for the standalone grafana/grafana chart (deprecated, now bundled in kube-prometheus-stack).
promtail-values.yamlHelm values for grafana/promtail (deprecated, replaced by Alloy).

Solution

Improved files using up-to-date charts without deprecated warnings.

FileDescription
setup-loki-prometheus-grafana.shInstalls the stack in five steps: ingress-nginx, Loki (SimpleScalable), Alloy, Prometheus + Grafana (bundled).
loki-values.yamlHelm values for grafana/loki in SimpleScalable mode, with schema_config and 14-day retention.
prometheus-values.yamlHelm values for prometheus-community/kube-prometheus-stack, including Grafana and Ingress configuration.
grafana-values.yamlGrafana-specific settings (hostname, TLS, datasources).
alloy-values.yamlHelm values for grafana/alloy: pod discovery, label relabelling, and log push to the Loki gateway.
mywebsite.yamlKubernetes Deployment, Service, and Ingress for the static website from Week 1 and 2.