What is the command to resize the persistent volume claim when kubectl edit didn’t work?
kubectl edit should definitely work unless you are not making any syntax/tab error and if that still doesn’t work, you can update using
Really got to know different approaches
Can u share how to learn network policy from basics like ingress egress
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.
kubectl patch from the link above.