-
Notifications
You must be signed in to change notification settings - Fork 327
waypoint server upgrade
on kubernetes does not upgrade if latest
tag image is cached.
#1795
Comments
I think we should enhance the server upgrade command to grab the pull policy for the server pod. If it's not latest and the pull policy isn't |
Since the default for
Rather than automate a restart of the pod, since that won't be a required action in all upgrade paths, I'm going to add a warning message to the terminal output to ensure the user knows a restart may be required. |
👍🏻 , one thing I forgot about when I wrote my comment earlier in this issue is our upgrader takes into account which upgrade strategy is configured for the statefulset that waypoint-server is deployed to. So we shouldn't auto-delete the pod if it's |
Describe the bug
If you don't explicitly set a
k8s-server-image
, runningwaypoint server upgrade
will default to usinghashicorp/waypoint:latest
. If that's already cached on the node waypoint is running on, the new deployment will use the cached image instead of re-pulling to get the actual latest version.Steps to Reproduce
k8s-server-image
waypoint server upgrade -auto-approve
, then check the version of the waypoint server. It will be the previous version.Expected behavior
Running
waypoint server upgrade
when a new version is available should always result in an upgrade to the latest version.Options to fix this:
latest
tag.always
Waypoint Platform Versions
Additional version and platform information to help triage the issue if
applicable:
The text was updated successfully, but these errors were encountered: