Git-sensor PVC- disk full

Git-sensor PVC- disk full

Need to increase the PVC size if you are getting following error:


Need to check the Storageclass by which PVC was provisioned.

Run the following command:
  1. kubectl get storageclass

Check for the field allowVolumeExpansion, if it is set to true, run the following command and increase the size of the PVC.Copy

  1. kubectl edit pvc git-volume-git-sensor-0 -n devtroncd

However, if the field is allowVolumeExpansion: false, set it to true and run the above command.

Edit the following field:

  1. spec:
  2.   capacity:
  3.     storage: 10Gi # increase as per convenience

Increase the PVC size as per your requirement. This will resolve the issue. If not, then try to bounce the pod using the following command.kubectl delete po -n devtroncd git-sensor-0

  1. kubectl delete po -n devtroncd git-sensor-0