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

CKA study material · question 321 of 1000

A StorageClass uses WaitForFirstConsumer but a Pod sets nodeName directly. What is the consequence?

  1. The volume is provisioned twice
  2. Binding still waits for the scheduler's decision
  3. The PVC is rejected at admission
  4. The mechanism is defeated, because the scheduling constraints are bypassed
Show the answer

Answer: D. The mechanism is defeated, because the scheduling constraints are bypassed

Setting nodeName skips the scheduler, so the constraints WaitForFirstConsumer waited to read are never evaluated.

Source: Storage Classes (Kubernetes) — Volume binding mode

Challenge yourself on this topic → Study as cards