Bird
0
0

You notice a node is stuck in NotReady state due to network issues. Which sequence of commands helps isolate and fix the problem?

hard📝 Application Q8 of 15
Kubernetes - Troubleshooting
You notice a node is stuck in NotReady state due to network issues. Which sequence of commands helps isolate and fix the problem?
ARun <code>kubectl drain</code> followed by <code>kubectl delete pod --all</code>
BCheck node events with <code>kubectl describe node</code>, then SSH into node to verify network interfaces and restart kubelet
CDelete the node and recreate it immediately
DUpgrade the cluster control plane
Step-by-Step Solution
Solution:
  1. Step 1: Diagnose node with describe command

    Use kubectl describe node to check events and confirm network issues causing NotReady.
  2. Step 2: Access node and fix network

    SSH into node to check network interfaces and restart kubelet service to restore connectivity.
  3. Final Answer:

    Check node events with kubectl describe node, then SSH into node to verify network interfaces and restart kubelet -> Option B
  4. Quick Check:

    Describe + SSH + restart kubelet fixes network NotReady [OK]
Quick Trick: Describe node then SSH to fix network and restart kubelet [OK]
Common Mistakes:
  • Deleting node without troubleshooting
  • Draining node without fixing network
  • Upgrading control plane unrelated to node network

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes