-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
RKE2 node driver cluster | nodes are replaced when upgrading Rancher from 2.6.3 to 2.6-head #36627
Comments
There has been so much that has changed in RKE2 provisioning. One example is that users are able to specify DrainBeforeDelete. In order to support these things, the MachineDeployments are updated. When this happens (which is all the Rancher controls), then CAPI will create new machines and delete the old ones. Given the "Tech Preview" status of RKE2 provisioning, this may be a necessary evil as we go to GA status. |
Can we invert behavior on our end to just default to |
@Oats87 , that's not the only reason it's triggered I believe. |
Moving to test to ensure QA actually validates that cluster comes back up active on upgrade (but per this issue, it's acceptable the nodes will be replaced). Though at this time it's blocked by #36807. |
Just wanted to add that despite CAPI draining by default, we chose to default |
On an upgrade from 2.6.3 to 2.6-head commit id:
@snasovich @Oats87 Is this expected? "Noticed that the nodes got deleted in parallel - 1 etcd, 1 control and 1 worker nodes got deleted in parallel and reprovisioned. " |
Rancher Server Setup
Information about the Cluster
Describe the bug
Downstream RKE2 node driver cluster has its nodes redeployed when upgrading Rancher from 2.6.3 to 2.6-head
To Reproduce
Result
You can see extra nodes in the downstream cluster being deployed. After they are deployed the old ones are deleted.
Expected Result
Downstream cluster nodes should not be affected by Rancher upgrade
Screenshots
As soon as Rancher is upgraded you can see new nodes provisioning
each pool got a new node
when new nodes are provisioned the old ones are deleted
Additional context
The text was updated successfully, but these errors were encountered: