docker compose up -d prometheus grafanaUnderstand Kubernetes memory metrics without firing false OOM alerts
Separate page cache, working set, RSS, limits, and OOMKilled events so your Prometheus dashboards and alerts help instead of panic.
A practical guide to diagnosing Kubernetes container memory with Prometheus and Grafana without confusing usage, working set, RSS, or reclaimable page cache.
Created: April 26, 2026
Published: April 26, 2026
Docker
A reproducible lab flow with local Prometheus to test queries before moving them into a cluster.
Docker or ComposeTest PrometheusContainer metrics exposed in the environment
curl -G 'http://localhost:9090/api/v1/query' --data-urlencode 'query=container_memory_working_set_bytes'Content locked
This guide requires both steps before full content is available.
- ○Click “Like” on this guide.
- ○Share on WhatsApp, X, LinkedIn, or copy the link.
Access is automatically unlocked as soon as both steps are completed.