Hi everyone,
I deployed an ECK cluster in a sandbox environment with a single node and a PersistentVolumeClaim of X Gi.
I would like to reduce the size of the disk allocated to this node.
From my understanding, Kubernetes does not allow reducing PVC storage requests (except in very specific cases depending on the StorageClass, and even then it’s generally not supported). Increasing the size is supported, but shrinking is not.
Since this is only a sandbox environment, I still tried to reduce the requested storage size directly in the ECK (Elasticsearch) manifest. However, this results in a reconciliationError, indicating that the change cannot be applied.
Is the only supported approach to recreate the cluster (or at least the StatefulSet / PVC) with a smaller volume size?
Are there any recommended best practices for handling this kind of change in non-production environments?
Thanks in advance for your guidance.