Nodes become `NotReady` occasionally. What metrics and alerts help you catch the cause?
IntermediateScenarioGrafana, Dashboards and Kubernetes Monitoring
Answer
Situation read → Often memory pressure, disk pressure, kubelet issues or network.
What I'd do →
- Alert on
kube_node_status_condition{condition="Ready",status="true"} == 0for 5m. - Track
kube_node_status_conditionforMemoryPressure,DiskPressure,PIDPressure. - node-exporter:
node_memory_MemAvailable_bytes,node_filesystem_avail_bytes,node_load5. - Check kubelet logs via journald in Loki:
{unit="kubelet.service"}. - Reserve resources with
systemReservedandkubeReservedin kubelet config.
Why → Most NotReady events are starved kubelets.
Interview tip → Mention eviction thresholds and system reservations.
More on Grafana, Dashboards and Kubernetes Monitoring
Grafana has 900 dashboards and nobody can find anything. How do you clean it up?IntermediateHow do you manage Grafana dashboards as code?IntermediateDesign a service overview dashboard that an on-call engineer can read in 10 seconds.BeginnerYou need to show deploy events on every Grafana graph. How?BeginnerPods are being OOMKilled but the memory graph never reaches the limit. Why?IntermediateHow do you detect CPU throttling hurting latency in Kubernetes?Intermediate