solr-operator icon indicating copy to clipboard operation
solr-operator copied to clipboard

Allow resizing (expanding) of persistent data PVCs

Open HoustonPutman opened this issue 8 months ago • 0 comments

Unfortunately Kubernetes does not currently support resizing of PVCs that are managed by StatefulSets.

There are a few KEP and KEP PRs that will hopefully enable this in the future however: https://github.com/kubernetes/enhancements/issues/661, https://github.com/kubernetes/enhancements/issues/4650 And even when it is added, it will take a while for it to be available for users.

Luckily, starting in Kubernetes 1.24, PVCs themselves support expansion. Therefore all we need to do as the Solr Operator is to go and manually update the PVC resources, and then do a rolling restart of the Pods to ensure that they have an up-to-date view of the storage volume.

HoustonPutman avatar Jun 14 '24 16:06 HoustonPutman