- Home
- All questions
- Question 692
CKA study material · question 692 of 1000
Which sequence does kubectl drain follow?
Show the answer
Answer: B. It cordons the node and then evicts its Pods
Marking the node unschedulable first stops new Pods arriving while the eviction proceeds, and the evictions respect any PodDisruptionBudget that covers the Pods.
Source: Safely Drain a Node (Kubernetes) — Use kubectl drain to remove a node from service