Skip to content
This repository has been archived by the owner on Nov 7, 2018. It is now read-only.

Statefulset not working with resize of pvc #230

Open
usherfu opened this issue Sep 17, 2018 · 0 comments
Open

Statefulset not working with resize of pvc #230

usherfu opened this issue Sep 17, 2018 · 0 comments

Comments

@usherfu
Copy link

usherfu commented Sep 17, 2018

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant