Interview Prep/Kubernetes/Observability & Day-2 Operations

How do you detect and alert on CPU throttling and memory pressure before users notice?

AdvancedProductionObservability & Day-2 Operations
Answer

Alert on rate(container_cpu_cfs_throttled_periods_total[5m]) / rate(container_cpu_cfs_periods_total[5m]) > 0.25 for latency-sensitive services, memory working set over 85% of limit, restart count increases with OOM reason, node MemoryPressure conditions and eviction events. Pair with dashboards that show request vs limit vs usage.

All Kubernetes questions

More on Observability & Day-2 Operations