Upgrade from the command line
Upgrade OpenShift Dev Spaces to the latest version using the dsc CLI management tool so that you can automate upgrades or upgrade deployments in restricted environments.
How the CLI upgrade works Copy linkLink copied!
The dsc server:update command performs the following operations in the openshift-devspaces namespace:
- Deploys the Operator image that matches the installed
dscversion. - Updates the CheCluster custom resource with the target version configuration.
- The Operator reconciles the updated resource and rolls out new container images for the gateway, dashboard, Dev Spaces server, and plug-in registry.
The upgrade preserves your existing CheCluster configuration, including custom properties, networking settings, and storage policies. Stop all running workspaces before starting the upgrade.
- Upgrade by using the dsc management tool
Upgrade OpenShift Dev Spaces from the previous minor version by using thedscmanagement tool so that your deployment receives the latest bug fixes, security patches, and features. - Upgrade in an air-gapped environment
Upgrade OpenShift Dev Spaces on a cluster with no internet access by mirroring updated container images and Operator catalogs to your private registry before running the upgrade.