How to expand the persistentvolumeclaim and record the changes?

Mohamed Sabe:
how to expand the persistentvolumeclaim and record the changes?

AB:
First i will create a yaml file of PV. Edit. Then delete the existing one and recreate with --record.

Nada Nour:
kubectl edit pvc <name> --record
you can also use the kubectl patch --record command

sharan:
@Mohamed Sabe k patch pvc delayed-pvc -p ‘{“spec”:{“resources”:{“requests”:{“storage”:“275Mi”}}}}’