🔥 3-day streak
Certified Kubernetes Administrator (CKA)106 / 125
Question 106 of 125

A developer created a PVC named 'data-pvc' requesting 5Gi from the 'fast-ssd' StorageClass, and it successfully bound to a dynamically provisioned PV. The application now needs 20Gi. The developer edits the PVC and changes 'spec.resources.requests.storage' to 20Gi, but the change is rejected with an error, and the PVC remains at 5Gi. The 'fast-ssd' StorageClass does NOT have 'allowVolumeExpansion' set. What is the correct way to give the application 20Gi of storage while keeping data loss to a minimum?

Reviewed for accuracy · Report an issueNext question