-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
updating a PVC's size is not propagated to the StatefulSet #80
Comments
Unfortunately you can't change the size of a PVC on a statefulset in Kubernetes but our validation doesn't prevent changing it on the EDS. We could maybe work around this by migrating transparently to a new statefulset, but this is a bigger change, so not something that can easily be fixed. |
ah, ok. then maybe as a first "quick fix" would be to validate this similar to K8s (not to allow it), and then later, we can build the "migrate to new statefulset" feature. |
@mikkeloscar is it possible that this actually changed? i just managed to change a PVC size with |
@drummerwolli You can change it on the PVC yes, but the problem is changing it on the StatefulSet which is (still) not allowed. |
do you know if this is planned at some point? maybe we can link the upstream issue if it exists? |
Here's an issue: kubernetes/kubernetes#68737 seems like it's not changing soon. But there are suggestions of removing the sts without deleting the pods ( |
Expected Behavior
If I change the size of an existing PVC inside of a
ElasticsearchDataSet
, it should get propagated to the underlyingStatefulSet
's pod volumesActual Behavior
The
StatefulSet
does not change its properties and therefore nothing changes.Steps to Reproduce the Problem
ElasticsearchDataSet
with a PersistentVolumeClaimSpecifications
The text was updated successfully, but these errors were encountered: