Setup a new namespace
Set up Loki
Add Grafana repo
Prepare values.yaml for Loki
Create a new file suprsend-loki-values.yaml:Install Loki
Setup Promtail
Setup promtail agent in the cluster to stream logs to Loki.Add Grafana repo, if not done yet
Prepare values.yaml for Promtail
Create a new file suprsend-promtail-values.yaml:Install Promtail
Setup Prometheus and Grafana
Setup Prometheus and Grafana together to record and visualise metrics. Configure a datasource in grafana to read logs from Loki.Add Prometheus community repo
Prepare values.yaml for Prometheus and grafana
Create a new file suprsend-promgraf-values.yaml:Install Prometheus grafana chart
Final: Setup an Ingress to expose Grafana dashboard
Create this ingress spec:Data retention period is set to 30 days for all components of the stack. If needed, you can increase it in the appropriate values.yaml configuration.