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

CKA study material · question 316 of 1000

A PVC omits storageClassName in a cluster with a default StorageClass. What happens?

  1. The claim binds only to classless PVs
  2. The default StorageClass is used
  3. The claim stays Pending
  4. The claim is rejected
Show the answer

Answer: B. The default StorageClass is used

A claim with no storageClassName gets the class marked by the storageclass.kubernetes.io/is-default-class annotation.

Source: Storage Classes (Kubernetes) — Default StorageClass

Challenge yourself on this topic → Study as cards