Node-Level Troubleshooting (NotReady, DiskPressure, MemoryPressure, PIDPressure)
Respond to NotReady nodes and pressure conditions before they cascade.
In plain words
A node is a rented warehouse with health gauges; NotReady loses the loading office, and pressure alarms mean finite local stock rooms are filling. The simple Kubernetes rule is: NotReady reflects lost kubelet heartbeat or control access, while DiskPressure, MemoryPressure, and PIDPressure are node conditions that influence evictions and scheduling.
Think of it like…
A node is a rented warehouse with health gauges; NotReady loses the loading office, and pressure alarms mean finite local stock rooms are filling.
Where you’ve seen it
An SRE testing a diagnosis runs kubectl get nodes; kubectl describe node worker-1; kubectl get pods -A -o wide --field-selector=spec.nodeName=worker-1. Expected evidence: NotReady reflects lost kubelet heartbeat or control access, while DiskPressure, MemoryPressure, and PIDPressure are node conditions that influence evictions and scheduling. If the run instead shows this symptom, stop and restore the last known state: Cordon prevents new schedules but does not free existing Pods or repair a disk, and restarting kubelet can hide the original runtime or kernel evidence.
Words you’ll hear
- NotReady
- For this lesson, NotReady is the controlling idea: NotReady reflects lost kubelet heartbeat or control access, while DiskPressure, MemoryPressure, and PIDPressure are node conditions that influence evictions and scheduling.
- DiskPressure
- DiskPressure is the checkpoint; run
kubectl get nodes; kubectl describe node worker-1; kubectl get pods -A -o wide --field-selector=spec.nodeName=worker-1and inspect the owner chain. Cordon prevents new schedules but does not free existing Pods or repair a disk, and restarting kubelet can hide the original runtime or kernel evidence. - MemoryPressure
- MemoryPressure is the outcome to preserve; the cost is explicit: Node diagnosis protects cluster capacity, but SSH, journal, pressure, and provider instance checks require controlled privilege and a drain plan.
- Verification evidence
- The evidence command is
kubectl get nodes; kubectl describe node worker-1; kubectl get pods -A -o wide --field-selector=spec.nodeName=worker-1. It connects the declaration to this behavior: Respond to NotReady nodes and pressure conditions before they cascade.
Visual diagram
Theory & deep dive
How NotReady reaches the intended state
Respond to NotReady nodes and pressure conditions before they cascade. NotReady reflects lost kubelet heartbeat or control access, while DiskPressure, MemoryPressure, and PIDPressure are node conditions that influence evictions and scheduling.
The concrete checkpoint is kubectl get nodes; kubectl describe node worker-1; kubectl get pods -A -o wide --field-selector=spec.nodeName=worker-1; compare the NotReady owner, DiskPressure state, and MemoryPressure outcome instead of treating YAML acceptance as proof.
Run kubectl get nodes; kubectl describe node worker-1; kubectl get pods -A -o wide --field-selector=spec.nodeName=worker-1 after the change and correlate the result with Events and the owning object. NotReady reflects lost kubelet heartbeat or control access, while DiskPressure, MemoryPressure, and PIDPressure are node conditions that influence evictions and scheduling.
DiskPressure: failure boundary and production cost
Cordon prevents new schedules but does not free existing Pods or repair a disk, and restarting kubelet can hide the original runtime or kernel evidence. The prerequisite contract is concrete: NotReady reflects lost kubelet heartbeat or control access, while DiskPressure, MemoryPressure, and PIDPressure are node conditions that influence evictions and scheduling.
Node diagnosis protects cluster capacity, but SSH, journal, pressure, and provider instance checks require controlled privilege and a drain plan. A safe design limits blast radius, records the last good configuration, and uses kubectl get nodes; kubectl describe node worker-1; kubectl get pods -A -o wide --field-selector=spec.nodeName=worker-1 as a deterministic rollback checkpoint.
Capture the current state with kubectl get nodes; kubectl describe node worker-1; kubectl get pods -A -o wide --field-selector=spec.nodeName=worker-1, then correct the controlling manifest rather than patching a child object; the relevant divergence signal is specific: Cordon prevents new schedules but does not free existing Pods or repair a disk, and restarting kubelet can hide the original runtime or kernel evidence.
How it works, step by step
Step 1 of 41. Define the symptom and SLI
Turn the user symptom into a measurable question and select a telemetry source: NotReady reflects lost kubelet heartbeat or control access, while DiskPressure, MemoryPressure, and PIDPressure are node conditions that influence evictions and scheduling.
- Goal
- Respond to NotReady nodes and pressure conditions before they cascade.
- Owner
- NotReady
When to use it & trade-offs
What it is
Respond to NotReady nodes and pressure conditions before they cascade. NotReady reflects lost kubelet heartbeat or control access, while DiskPressure, MemoryPressure, and PIDPressure are node conditions that influence evictions and scheduling.
Why it matters: Cordon prevents new schedules but does not free existing Pods or repair a disk, and restarting kubelet can hide the original runtime or kernel evidence. The invariant at risk is specific: NotReady reflects lost kubelet heartbeat or control access, while DiskPressure, MemoryPressure, and PIDPressure are node conditions that influence evictions and scheduling. The quickest fact check before changing the design is kubectl get nodes; kubectl describe node worker-1; kubectl get pods -A -o wide --field-selector=spec.nodeName=worker-1.
When to reach for it
- Use NotReady to enforce this invariant: NotReady reflects lost kubelet heartbeat or control access, while DiskPressure, MemoryPressure, and PIDPressure are node conditions that influence evictions and scheduling.
- Use DiskPressure evidence from
kubectl get nodes; kubectl describe node worker-1; kubectl get pods -A -o wide --field-selector=spec.nodeName=worker-1in reviews and incident timelines. Respond to NotReady nodes and pressure conditions before they cascade. - Choose the managed observability backend route only when this cost is justified by governance or scale: Node diagnosis protects cluster capacity, but SSH, journal, pressure, and provider instance checks require controlled privilege and a drain plan.
When to avoid or be careful
- Avoid assuming NotReady is complete after YAML submission; the required behavior is concrete: NotReady reflects lost kubelet heartbeat or control access, while DiskPressure, MemoryPressure, and PIDPressure are node conditions that influence evictions and scheduling.
- Avoid treating the next symptom as random; check the owner and state with
kubectl get nodes; kubectl describe node worker-1; kubectl get pods -A -o wide --field-selector=spec.nodeName=worker-1first: Cordon prevents new schedules but does not free existing Pods or repair a disk, and restarting kubelet can hide the original runtime or kernel evidence. - Avoid adopting a heavier platform wrapper before measuring its cost: Node diagnosis protects cluster capacity, but SSH, journal, pressure, and provider instance checks require controlled privilege and a drain plan.
Native, manual, and managed paths for NotReady
kubectl get nodes; kubectl describe node worker-1; kubectl get pods -A -o wide --field-selector=spec.nodeName=worker-1.Strengths: NotReady reflects lost kubelet heartbeat or control access, while DiskPressure, MemoryPressure, and PIDPressure are node conditions that influence evictions and scheduling.
Watch out: Node diagnosis protects cluster capacity, but SSH, journal, pressure, and provider instance checks require controlled privilege and a drain plan. Recovery must also recognize this signal: Cordon prevents new schedules but does not free existing Pods or repair a disk, and restarting kubelet can hide the original runtime or kernel evidence.
kubectl get nodes; kubectl describe node worker-1; kubectl get pods -A -o wide --field-selector=spec.nodeName=worker-1; the expected invariant is: NotReady reflects lost kubelet heartbeat or control access, while DiskPressure, MemoryPressure, and PIDPressure are node conditions that influence evictions and scheduling.Strengths: kubectl get nodes; kubectl describe node worker-1; kubectl get pods -A -o wide --field-selector=spec.nodeName=worker-1 gives immediate feedback without first building a platform layer.
Watch out: A manual change can hide drift, and unlike NotReady, it does not make this symptom self-documenting: Cordon prevents new schedules but does not free existing Pods or repair a disk, and restarting kubelet can hide the original runtime or kernel evidence.
kubectl get nodes; kubectl describe node worker-1; kubectl get pods -A -o wide --field-selector=spec.nodeName=worker-1.Strengths: Platform controls can wrap this exact behavior in policy or dashboards: NotReady reflects lost kubelet heartbeat or control access, while DiskPressure, MemoryPressure, and PIDPressure are node conditions that influence evictions and scheduling.
Watch out: The added platform ownership buys value at this cost: Node diagnosis protects cluster capacity, but SSH, journal, pressure, and provider instance checks require controlled privilege and a drain plan.
Interview signals & numbers to know
When this topic comes up
- Interview anchor: NotReady reflects lost kubelet heartbeat or control access, while DiskPressure, MemoryPressure, and PIDPressure are node conditions that influence evictions and scheduling.
- Trace NotReady to MemoryPressure through DiskPressure; the invariant is: NotReady reflects lost kubelet heartbeat or control access, while DiskPressure, MemoryPressure, and PIDPressure are node conditions that influence evictions and scheduling.
- Recognize the symptom: Cordon prevents new schedules but does not free existing Pods or repair a disk, and restarting kubelet can hide the original runtime or kernel evidence.
- Justify the cost: Node diagnosis protects cluster capacity, but SSH, journal, pressure, and provider instance checks require controlled privilege and a drain plan.
- Verify with kubectl get nodes; kubectl describe node worker-1; kubectl get pods -A -o wide --field-selector=spec.nodeName=worker-1 instead of only inspecting YAML.
Benchmarks & rules of thumb
- 4
- node failure labels emphasized: NotReady, DiskPressure, MemoryPressure, and PIDPressure
- 0
- new Pods should schedule to a cordoned node
- 1
- drain follows readiness and PDB evidence rather than only the node flag
Common mistakes & follow-ups
Common interview mistakes
- Debugging only the child object misses the NotReady owner contract: NotReady reflects lost kubelet heartbeat or control access, while DiskPressure, MemoryPressure, and PIDPressure are node conditions that influence evictions and scheduling.
- Ignoring this telltale condition leads to unrelated changes: Cordon prevents new schedules but does not free existing Pods or repair a disk, and restarting kubelet can hide the original runtime or kernel evidence.
- Repeating
kubectl get nodes; kubectl describe node worker-1; kubectl get pods -A -o wide --field-selector=spec.nodeName=worker-1without an owner for remediation wastes retry cost. Node diagnosis protects cluster capacity, but SSH, journal, pressure, and provider instance checks require controlled privilege and a drain plan.
Likely interviewer follow-ups
- How would API output and runtime evidence prove this behavior: NotReady reflects lost kubelet heartbeat or control access, while DiskPressure, MemoryPressure, and PIDPressure are node conditions that influence evictions and scheduling?
- Which owner object, logs, and Events would you inspect for this symptom-Cordon prevents new schedules but does not free existing Pods or repair a disk, and restarting kubelet can hide the original runtime or kernel evidence-?
- At what threshold would this cost become unacceptable: Node diagnosis protects cluster capacity, but SSH, journal, pressure, and provider instance checks require controlled privilege and a drain plan?
kubectl get nodes; kubectl describe node worker-1; kubectl get pods -A -o wide --field-selector=spec.nodeName=worker-1, name the failure, then justify the cost. Invariant: NotReady reflects lost kubelet heartbeat or control access, while DiskPressure, MemoryPressure, and PIDPressure are node conditions that influence evictions and scheduling. Failure: Cordon prevents new schedules but does not free existing Pods or repair a disk, and restarting kubelet can hide the original runtime or kernel evidence. Cost: Node diagnosis protects cluster capacity, but SSH, journal, pressure, and provider instance checks require controlled privilege and a drain plan.Knowledge check
Put it into practice
Practice related interview Q&A
Apply Node-Level Troubleshooting (NotReady, DiskPressure, MemoryPressure, PIDPressure) with generative AI interview Q&A and hands-on practice.