What would a be good approach to fix storage issues when your services run out of the presistent volume free space?
For example I have a gitlab service running on kubernetes installed with Helm Chart. I have used the default settings, but now I ran out of free space for gitlab. What would be the ideal approach to fix this issue?
Thank you for your answers, Bence Pjatacsuk
Is there anyway I can increase the PV in size?
There is no official way to increase PV size in Kubernetes for now, actually I don't think this is Kubernetes' responsibility. Here's the related issue.
But you can increase it manually in two steps:
kubectl edit pv <pv_id>
As for data backup and restore, it depends on your backend storage. You can backup your PV (eg. create a snapshot) -> create a new one based on it -> and increase the size -> create a new pod with same definition but bind the larger size PV to it.