- Home
- All questions
- Question 812
CKA study material · question 812 of 1000
An administrator pre-creates a PersistentVolume and writes a claim that omits storageClassName, expecting it to bind. Instead a new volume is provisioned. Why?
Show the answer
Answer: A. Omitting the field invokes the default StorageClass
Leaving storageClassName out is not the same as asking for no class: the default StorageClass is applied. Binding a pre-provisioned volume means setting the field to the empty string.
Source: Persistent Volumes (Kubernetes) — PersistentVolumeClaims › Class