Skip to content
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

Make Anthos version upgradeable #65

Open
displague opened this issue Apr 15, 2021 · 2 comments
Open

Make Anthos version upgradeable #65

displague opened this issue Apr 15, 2021 · 2 comments

Comments

@displague
Copy link
Member

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
Copy link
Member Author

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

Seems the steps may be:

  • ssh to the control plane nodes
  • update the bmctl binary
  • run bmctl upgrade cluster on the first control plane node (with the precise version)
  • do something about the first user cluster?

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
Copy link
Member Author

Upgrading may a require HA configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant