Node status and node conditions · Question 4 of 12

An administrator wants to maintain a node. Which command only prevents new pods from being scheduled there?

1 answer is correct. Easy Created with AI

Show answer

Answer

  • B kubectl cordon <node>

Explanation

cordon marks the node as unschedulable; running pods stay. drain also cordons the node and evicts its pods.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications