Search⌘ K

Choose the Tools for Storing and Querying Metrics and Alerting

Explore how to select and use tools like Prometheus and Alertmanager for effective metrics storage, querying, and alerting in Kubernetes. Understand the importance of these tools beyond basic autoscaling to maintain cluster health and receive timely notifications about issues.

HorizontalPodAutoscaler (HPA) and Cluster Autoscaler (CA) provide essential, yet very rudimentary mechanisms to scale our Pods and clusters. While they do scaling decently well, they do not solve our need to be alerted when there’s something wrong, nor do they provide enough information required to find the cause of an issue. We’ll need to expand our setup with additional tools that will allow us to store and query metrics as well as to receive notifications when there is an issue.

Store and query metrics using Prometheus #

If we focus on tools that we can install and manage ourselves, there is very little doubt about what to use. If ...