Leveraging Prometheus Service Monitor and Pod Monitor for Enhanced Kubernetes Monitoring
summary
Shows how Prometheus Operator + kube-prometheus-stack replaces huge scrape configs and gives declarative targets via ServiceMonitor and PodMonitor, using a Python Flask app instrumented with the Prometheus client to emit counters, histograms and enums. Demonstrates creating ServiceMonitor CRD, port‑forwards Prometheus and Grafana, and visualizes latency and 500 counts; the demo mostly scrapes but occasionally lags, underscoring why operator-managed monitors are easier to maintain in Kubernetes.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 1:08Why monitor systems
- 10:27Prometheus ecosystem
- 15:27Kubernetes monitoring basics
- 27:07Prometheus Operator benefits
- 31:00Custom exporters
- 37:49Live demo setup
- 45:19Q&A
related talks
24mPractical Kubernetes Monitoring with Prometheus
02h 43mPrometheus from A to Z
30mCrash course in Kubernetes monitoring
34mMonitoring Spinnaker with Prometheus Operator on GKE
32mDemocratizing Application Monitoring with Prometheus
31mDeep Dive into the Prometheus Operator Ecosystem
19mKeynote: Monitoring Kubernetes Clusters with Prometheus
24mHow to Be 10x SRE? A Deep Dive to Prometheus Operator
