-
Notifications
You must be signed in to change notification settings - Fork 727
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
Add more rolling upgrade E2E tests #1156
Comments
I think this test scenario is somewhat redundant with the move to stateful sets as we would be testing that stateful sets work correctly at this point. |
cloud-on-k8s/operators/test/e2e/es/mutation_test.go Lines 18 to 30 in 71de93f
does just that after #608 : it modifies the original sset to remove the |
@sebgl I wonder what you had in mind here. What does testing hot-warm mean specifically? I don't think it makes sense to test that Elasticsearch allocation requirements and ILM works. Hot/warm/cold from an ECK perspective is just three data node sets with different volume claim templates. We can of course test that you can specify more than one data node set. But for example testing that these actually each get different volumes types assigned is quite hard I think. What could be interesting is testing that ILM allocation requirements don't interfere with our use of allocation requirements on node removal. |
You're right. I did not have anything particular in mind, I think this was mostly in the list as something to think about when we work on the issue, in case there might be something worth testing I don't know about.
Indeed, sounds like a tricky bit. |
We should improve E2E tests to cover the following PVC reuse scenarios:
Add some data in the cluster and make sure it's still there once the upgrade is done (related: e2e tests: add support for data integrity tests #608)
Test migrations from one node role to another: master nodes should not reuse data volumes and data nodes should not reuse master volumes.
Test mutations with an update strategy that implies both PVC reuse and data migration. Make sure one does not prevent the other to go through.
Test hot-warm topologiessee ECK and ILM #2077 for thatTest minor modifications in the VolumeClaimTemplate specwe don't allow changes to the volume claim template spec since moving to StatefulSetsTest a back-and-forth scenario: ask for a mutation, make sure it's initiated, then revert it
The text was updated successfully, but these errors were encountered: