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

CKA study material · question 699 of 1000

A controller wants to pull an already-created Pod back out of the scheduling queue by adding a scheduling gate. What does the API allow?

  1. Adding a gate at any time before the Pod is bound
  2. Adding a gate only while the Pod is Pending
  3. Adding a gate, provided the Pod has no nodeName yet
  4. Nothing; gates may only be removed after creation
Show the answer

Answer: D. Nothing; gates may only be removed after creation

schedulingGates can be initialised only when the Pod is created; afterwards gates may be removed in any order but never added, so a gate cannot retract a Pod already in the queue.

Source: Pod Scheduling Readiness (Kubernetes) — Configuring Pod schedulingGates

Challenge yourself on this topic → Study as cards