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

CKA study material · question 169 of 1000

Which command removes a taint that was added with kubectl taint nodes node1 key1=value1:NoSchedule?

  1. kubectl taint nodes node1 key1=value1:NoSchedule-
  2. kubectl patch node node1 --remove-taint key1
  3. kubectl taint nodes node1 key1-
  4. kubectl untaint nodes node1 key1
Show the answer

Answer: A. kubectl taint nodes node1 key1=value1:NoSchedule-

Repeating the taint command with a trailing minus removes it.

Source: Taints and Tolerations (Kubernetes) — Concepts

Challenge yourself on this topic → Study as cards