Ahsan:
Hi
How can we extend pvc volume ?
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.
Regarding the resize of PVC which is associated with PV, you will need to delete the PVC then resize It and create It again.
OR use kubectl patch
Check this:
https://www.runlevl4.com/kubernetes/patching-kubernetes-resources#more-476
Ahsan:
Thank you so much