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

CKA study material · question 912 of 1000

A drain stops on Pods using emptyDir volumes. What does --delete-emptydir-data acknowledge?

  1. That the volumes will be reattached on the new node
  2. That the local data in those volumes is discarded
  3. That the Pods will be recreated with empty volumes on the same node
  4. That the volumes will be snapshotted first
Show the answer

Answer: B. That the local data in those volumes is discarded

The flag exists so the operator states plainly that emptyDir contents are lost when the node is drained, since that data lives only on the node.

Source: kubectl drain (Kubernetes) — Options

Challenge yourself on this topic → Study as cards