Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

feature: Waypoint Server Upgrade command for supported server platforms #976

Merged
merged 59 commits into from
Jan 25, 2021

Conversation

briancain
Copy link
Member

This pull request introduces a new CLI command: waypoint server upgrade. For each supported server platform, it attempts to upgrade the server image in place while preserving the original database. It also by default takes a snapshot of the sever prior to upgrading in the case of any failures.

Fixes #612

@briancain briancain added this to the 0.2.x milestone Jan 13, 2021
@briancain briancain requested a review from a team January 13, 2021 23:01
@briancain briancain changed the title feature: Waypoing Server Upgrade command for supported server platforms feature: Waypoint Server Upgrade command for supported server platforms Jan 13, 2021
@briancain
Copy link
Member Author

briancain commented Jan 13, 2021

I see in PR #972 it's abstracted out the serverName and serviceName (k8s only). I'll be sure to do the same here once I can rebase off of Uninstall, or I can make the same changes here and let git handle it 😄

edit: done!

Copy link
Contributor

@krantzinator krantzinator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥇

From testing with Nomad version 1.0.1 and 1.0.2, it looks like this is
no longer an issue. Job upgrades preserve the DB, so no need to document
this anymore.
In some cases, k8s using RollingUpdate with a heavy load might take longer to
refresh the image. We should wait a little bit before failing to verify
the sever client connection
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

waypoint reinstall/upgrade
3 participants