Hello @Aly Idriss ,
Thank you for contact Kasten by Veeam and using our community!
I would recommend to check the setup of your StorageClass, K8s allows PVC to be expanded only when the StorageClass has "allowExpansion" set to true according with K8s documentation:
https://kubernetes.io/docs/concepts/storage/persistent-volumes/#expanding-persistent-volumes-claims
It would be set as true by default on CSI driver, but I am not sure which Storage are you using with K10.
Regards
Fernando R.
Kasten Support
Hi Fernando,
thanks for the updates,
I am using K3s local-path storage class, which is not in the list
I successfully updated the storage class with “allowVolumeExpansion: true” , and I updated Kasten PVC with the above command successfully.
but it seems that the PVC is not extended :
logging-pv-claim Bound pvc-81467a48-56f0-4073-9d4e-d3430fd74aec 20Gi RWO local-path 34d
what do you think?
BR,
Aly
Hello @Aly Idriss ,
Looks like there are some issues regarding resize of a created PVC on k3s Local Path Provisioner, so after enabling "allowVolumeExpansion" the command should work as it did for you, but the real size will not show, according to the PR/docs since Local Path Provisioner doesn't take PVC size into consideration, there is no quota/enforcement for the volume size so it can have a bigger size than it showing on PVC being limited by the system disk size, but unfortunately looks like the PR did not address the PVC size status, it will still show the original amount.
Please take a look in the links bellow for further details related to this:
https://github.com/rancher/local-path-provisioner/issues/190
https://github.com/rancher/local-path-provisioner/pull/189
https://rancher.com/docs/k3s/latest/en/storage/
Regards
Fernando R.
Kasten by Veeam support.
Thank you Fernando, yes I think it is my SC limitation
BR,
Ali