This repository was archived by the owner on Nov 7, 2018. It is now read-only.
This repository was archived by the owner on Nov 7, 2018. It is now read-only.
Statefulset not working with resize of pvc #230
Open
Description
I tried to deploy the elasticsearch with statefulset, and want to test out the new feature "Resizing Persistent Volume" in k8s v1.11 .
However, when trying to increase the "statefulset.spec.volumeClaimTemplates.spec.resources.requests.storage" field, received the following error:
"The StatefulSet "es-data" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden."
I guess it is a restriction of Statefulset, but want to ask if anyone has found way to use the new feature? Knowing upfront the needed storage size is not practical.
Thanks!
Metadata
Metadata
Assignees
Labels
No labels