Challenge - 5 Problems
Node Troubleshooting Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate2:00remaining
Check node status with kubectl
You run the command
kubectl get nodes on your cluster. What output indicates that a node is NotReady?Kubernetes
kubectl get nodesAttempts:
2 left
💡 Hint
Look for the STATUS column showing node health.
✗ Incorrect
The
NotReady status means the node is not healthy and cannot run pods. Other statuses like Ready or SchedulingDisabled mean different states.❓ Troubleshoot
intermediate2:00remaining
Diagnose node unreachable error
You notice pods stuck in
Pending state and suspect a node is unreachable. Which command helps you check node connectivity issues?Attempts:
2 left
💡 Hint
You want detailed info about the node itself.
✗ Incorrect
The
kubectl describe node command shows node conditions, including network or disk pressure, which helps diagnose connectivity problems.❓ Configuration
advanced2:00remaining
Identify correct kubelet config for node readiness
Which kubelet configuration option ensures the node reports
Ready status only when the node is healthy?Attempts:
2 left
💡 Hint
Look for settings that control node health eviction.
✗ Incorrect
The
--eviction-hard flag sets thresholds for resource pressure. If these are exceeded, the node becomes NotReady to protect stability.🔀 Workflow
advanced3:00remaining
Sequence to safely drain a node
What is the correct order of commands to safely drain a node before maintenance?
Attempts:
2 left
💡 Hint
First prevent new pods, then move existing pods, then allow scheduling again.
✗ Incorrect
You first mark the node unschedulable with
cordon, then safely evict pods with drain. After maintenance, use uncordon to allow pods again.✅ Best Practice
expert3:00remaining
Identify best practice for node failure alerting
Which approach is best to get immediate alerts when a Kubernetes node becomes
NotReady?Attempts:
2 left
💡 Hint
Automated monitoring and alerting is key for fast response.
✗ Incorrect
Prometheus can scrape node metrics and alert immediately when a node status changes to
NotReady, enabling quick action.