Prometheus query examples for monitoring Kubernetes
Blog post from Sysdig
The blog post provides a collection of ten practical Prometheus query examples intended for monitoring Kubernetes clusters, leveraging Sysdig's expertise from assisting numerous customers. It includes queries for counting pods per namespace, identifying containers without CPU limits, detecting pod restarts, and listing pods not ready for troubleshooting purposes. Additionally, the article covers queries to detect CPU and memory overcommit, the number of ready nodes, node readiness flapping, and underutilized CPU and memory resources. Readers are encouraged to explore further resources like a PromQL cheatsheet, the Awesome Prometheus alerts collection, and a free hands-on lab to practice in a real environment, ensuring effective use of Prometheus for Kubernetes monitoring.