Skip to main content

Kubernetes Monitoring with Prometheus and Loki

Deploy Prometheus, Grafana, Loki and Alertmanager on Kubernetes with Helm, then alert on a sample app and trace an issue from metric to log.

~20 minutes
10 Topics
Hands-on Scenarios

What You'll Learn

Architecture Overview & Problem Statement

This project deploys a complete observability stack on Kubernetes with Helm: Prometheus collects metrics, Loki stores logs, Grafana shows both in one...

Milestone 1: Prepare the Cluster and Helm

This milestone checks that the cluster works and adds the Helm repositories.

Milestone 2: Deploy kube-prometheus-stack

This milestone installs Prometheus, Grafana, Alertmanager, node-exporter, and kube-state-metrics in one release, with Kubernetes dashboards and alert...

Milestone 3: Explore the Built-in Dashboards

This milestone opens Grafana so you know what the stack already gives you before you add anything.

Milestone 4: Deploy Loki for Log Storage

This milestone installs Loki, which stores logs and indexes only their labels, not their full text.

Milestone 5: Ship Pod Logs with Grafana Alloy

This milestone installs the agent that reads pod logs and sends them to Loki.

Skills You'll Master

KUBERNETESPROMETHEUSGRAFANALOKI

Curriculum Index10 topics

Career Impact

Roles that use the skills in this module.

  • Site Reliability Engineer

  • DevOps Engineer

  • Platform Engineer

See how this is asked in interviews

Practice on the Coding Sheet

Not a software engineer sheet. Every problem comes from real DevOps, SRE, Platform and Cloud interviews, from your first script to a system you build yourself.

Open the Coding Sheet