Description
Is your feature request related to a problem? Please describe
We do not support live upgrades for the single cluster ref arch while workspaces are running.
Describe the behaviour you'd like
Before KOTS begins a deployment:
- Prompt the user if it is okay to proceed with the deploy to an existing cluster, share this should be done during an outage window planned with their business.
- Stop workspaces, wait for them to backup/terminate,
kubectl delete pods -l component=workspace
may suffice - Then deploy Gitpod to the cluster (the assumption is KOTS deletes existing resources and then recreates them)
Additionally, as part of the monthly release cycle, a self-hosted test should be added, so that the upgrade flow with running workspaces is included as part of the testing.
Describe alternatives you've considered
N/A, this removes friction from the upgrade experience.
Additional context
The deploy process should not start in a live cluster while workspaces are running.
As of the August KOTS release, when a deploy is done to an existing cluster, resources are deleted, however...because ws-daemon
was deleted, the workspaces could not backup, and thus could not be deleted. Therefore, it is imperative that we wait for workspace pods to be deleted (including imagebuild and prebuild), before deleting the Gitpod installation.
Customers that experience this issue willl incur data loss, and to clean-up the pods, must remove the related finalizer from the regular and prebuild workspaces.