equinix / terraform-equinix-metal-anthos-on-baremetal

Terraform module for quick deployment of baremetal Anthos on Equinix Metal
https://registry.terraform.io/modules/equinix/anthos-on-baremetal
Apache License 2.0
26 stars 23 forks source link

Make Anthos version upgradeable #65

Open displague opened 3 years ago

displague commented 3 years ago

By running terraform apply with an updated Anthos version, a user may expect this module to upgrade the installed Anthos version.

That is not the case today.

Doing so should upgrade the installed cluster.

terraform apply -var anthos_version=1.6.0 # cluster has been installed
terraform apply -var anthos_version=1.7.0 # cluster has been upgraded
displague commented 3 years ago

https://cloud.google.com/anthos/clusters/docs/bare-metal/1.6/how-to/upgrade

Seems the steps may be:

We'll likely need to run the upgrade command in a separate null-resource provisioner block on every install, and handle the case where the command returns any kind of "already running that version" response.

displague commented 3 years ago

Upgrading may a require HA configuration.