Request a larger PVC size when the class supports expansion.

Section: Persistent Storage

Expand PVC size

bash
bash
kubectl patch pvc data-postgres-0 -n data -p '{"spec":{"resources":{"requests":{"storage":"200Gi"}}}}'
Explanation

Request a larger PVC size when the class supports expansion.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Persistent Storage
List PVCs
Show PersistentVolumeClaims across namespaces.
OpenIn sheetbashsame section
Describe PVC
Inspect requested storage, status, and bound PV.
OpenIn sheetbashsame section
Delete PVC
Remove a PVC; PV behavior depends on reclaim policy.
OpenIn sheetbashsame section
List PVs
Show cluster-wide PersistentVolumes.
OpenIn sheetbashsame section
Describe PV
Inspect reclaim policy, claim ref, and backing class.
OpenIn sheetbashsame section
List storage classes
Show available StorageClasses.
OpenIn sheetbashsame section