rancher / terraform-provider-rancher2

Terraform Rancher2 provider
https://www.terraform.io/docs/providers/rancher2/
Mozilla Public License 2.0
253 stars 219 forks source link

[RFE] Graceful Shutdown of vSphere VM #1222

Closed jiaqiluo closed 9 months ago

jiaqiluo commented 10 months ago

Terraform side of https://github.com/rancher/rancher/issues/42308

jiaqiluo commented 9 months ago

can be validated in https://github.com/rancher/terraform-provider-rancher2/releases/tag/v4.0.0-rc3

slickwarren commented 9 months ago

tested the following on rancher v2.8-head (6376016):

to test: upgrade rke1, rke2 from rancher setup without graceful shutdown available -> with it available, edit cluster and delete node. Ensure policy applies correctly.

slickwarren commented 9 months ago

upgrades for rke1 and rke2 are actually only supported on the node-pool level. Meaning that, any existing nodes after an upgrade, even if the pool now has graceful_shutdown set, must be removed. Newly created nodes will have the correct settings available and applied. This is known behavior for both engines.