Hello Everyone, While editing PVC size which is already created, i am unable to . . .

Yuvaraj K:
Hello Everyone,

While editing PVC size which is already created, i am unable to edit one of the example. What will be the issue.

Mohamed Ayman:
You can try with kubectl edit pvc pvc-name --record but only dynamically provisioned PVC can be resized and the storageclass that provisions the PVC must support resize.

Mohamed Ayman:
Regarding the resize of PVC which is associated with PV, you will need to delete the PVC then resize It and create It again.

Mohamed Ayman:
OR use kubectl patch
Check this:
https://www.runlevl4.com/kubernetes/patching-kubernetes-resources#more-476