Use Prometheus to quickly graph API resource usage in OpenShift
Issue
- When API resource usage has increased either gradually or suddenly, it's important to understand why, so that there aren't resource-related issues that occur as a result of over-utilization of the API pods.
- If API resource usage becomes too high, it can result in OOM events with etcd or API pods, and can more severely result in cluster outages if left unaddressed.
- It's possible to do this same task with API audit logging, but these results can be cluttered and difficult to interpret.
Environment
- OpenShift Container Platform
- 3.11
- Prometheus Monitoring
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.