-
Notifications
You must be signed in to change notification settings - Fork 726
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
Upgrading from ECK 2.4.0 to latest version may fail #5979
Comments
Similar problem #6027 there it is a PVC resize that leads to multiple updates with an unchanging spec. |
We discussed potential solutions and @barkbay suggested two approaches:
|
Comparing the
Elasticsearch transforms the submitted data: it stringifies all the booleans and integers and it also transforms the resource units to the largest applicable i.e instead or bytes of memory it returns gigabytes. My fear is that implementing a comparison after mirroring the same transformations might be brittle and am thinking we should just stick to the current approach of updating at each reconciliation with an incremented version number. |
I am thinking about ways to optimise this. But it is quite involved. One idea follow below. First iteration:
Subbsequent iterations:
This would address the following concerns:
This comes with the downside of additional complexity and annotation updates to the ES resource |
Got this error for one of my Elasticsearch cluster while upgrading from
2.4.0
to main:I think (not 💯 sure yet) this is because of #5950: the Elasticsearch configuration has changed, but the
metadata.generation
of the Elasticsearch resource, used as theversion
field for the desired nodes API, is still the same.I wonder if we should have an "upgrade" e2e pipeline, something like our
upgrade-test-harness
, that should be run automatically when submitting a PR in order to detect this kind of issue.The text was updated successfully, but these errors were encountered: