Study. uk . com
  1. Home
  2. All questions
  3. Question 914

CKA study material · question 914 of 1000

kubectl drain has returned successfully. What does that signify?

  1. That the node has been cordoned and eviction has begun
  2. That the Node object has been deleted
  3. That every Pod has terminated gracefully and the machine can be worked on
  4. That the Pods have been rescheduled and are Ready elsewhere
Show the answer

Answer: C. That every Pod has terminated gracefully and the machine can be worked on

drain waits for graceful termination before returning, so a successful return is the signal that it is safe to shut the machine down or upgrade it.

Source: kubectl drain (Kubernetes) — Synopsis

Challenge yourself on this topic → Study as cards