QuestionQ155

VerifiedKubernetes Fundamentals

A site reliability engineer must temporarily stop new Pods from being scheduled on node-2 while keeping the existing workloads running without interruption. Which kubectl command should be used?

Explanation

kubectl cordon marks a node as unschedulable. This prevents the scheduler from placing new Pods on that node without affecting existing Pods; unlike kubectl drain, it does not evict workloads.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!