-
Notifications
You must be signed in to change notification settings - Fork 718
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
StatefulSet's VolumeClaimTemplates ownerReference cannot be patched from apiVersion v1beta1 to v1 #2192
Comments
Some ideas to move forward:
I don't really like any of them. |
If I remember correctly we only introduced this as an optimisation or convenience for users because we did run into issues with re-use of PVCs when recreating clusters with the same name, which is probably mostly a dev issue to begin with. So that sounds like a good option to consider?
I am not sure what the implications are here. Does the GC still work if the owner reference is pointing to a version of the resource that does not exist anymore in the api server (because we have upserted it to |
To me the volume auto-removal is a real important feature not only for developers. Happy to re-discuss the need for having it if we think it's necessary (I'm strongly in favor of having it and making it the default). Using
Yes. |
#2191 (comment) seems to converge on ignoring apiVersions in |
There's a problem with StatefulSets updates when upgrading from ECK using crd v1beta1 to ECK using crd v1 and existing clusters.
To reproduce:
to:
volumeClaimTemplates
section of a StatefulSet cannot be updated:The text was updated successfully, but these errors were encountered: