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

CKA study material · question 664 of 1000

A team adds a toleration for a GPU node's taint to every Pod in a Deployment, expecting them to land on the GPU nodes. What actually happens?

  1. The Pods are pulled onto the GPU nodes in preference to others
  2. The Pods may schedule anywhere, including nodes with no GPU
  3. The Pods stay Pending until a GPU node has capacity
  4. The Pods are spread evenly across GPU and non-GPU nodes
Show the answer

Answer: B. The Pods may schedule anywhere, including nodes with no GPU

A toleration only permits scheduling onto a tainted node; it does not attract Pods there. Steering them to the GPU nodes needs a nodeSelector or node affinity as well.

Source: Taints and Tolerations (Kubernetes) — Concepts

Challenge yourself on this topic → Study as cards