yashbhutwala / kubectl-df-pv

kubectl plugin - giving admins df (disk free) like utility for persistent volumes
Apache License 2.0
403 stars 32 forks source link

Add feature to resize PVC #36

Open khanh96le opened 1 year ago

khanh96le commented 1 year ago

If a PVC is running out of space, we usually need to expand the PVC size.

We can do it automatically by installing some external plugins like pvc-autoresizer, Kubernetes-Volume-Autoscaler But if we don't, we need to edit the PVC to change the size parameter manually. How about bringing that manual process into this tool?

Something like this: kubectl df-pv resize <pvc-name> 20Gi