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

The dsc server:update command performs the following operations in the openshift-devspaces namespace:

  1. Deploys the Operator image that matches the installed dsc version.
  2. Updates the CheCluster custom resource with the target version configuration.
  3. 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.