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

CKA study material · question 68 of 1000

kubectl drain will not complete on a node running DaemonSet Pods. Which flag lets it finish?

  1. --delete-emptydir-data
  2. --disable-eviction
  3. --ignore-daemonsets
  4. --force
Show the answer

Answer: C. --ignore-daemonsets

The DaemonSet controller immediately recreates its Pods, so a drain needs --ignore-daemonsets to succeed.

Source: Safely Drain a Node (Kubernetes) — Use kubectl drain to remove a node from service

Challenge yourself on this topic → Study as cards