Chapter 2. New features and enhancements
2.1. Deploying OpenShift Dev Spaces from the
With this update, you can deploy OpenShift Dev Spaces from the
fast channel rather than from the default
stable channel by running the following command:
dsc server:deploy --olm-channel=fast.
Red Hat support does not extend to OpenShift Dev Spaces instances deployed from the
fast channel. The
fast channel is for testing release candidates and CI versions of future supported releases. To switch from the
fast channel to the
stable channel, delete the
fast subscription and create a new subscription from the
2.2. Support for more devfile components
With this update, OpenShift Dev Spaces supports devfile components of types
openshift, which reference Kubernetes and OpenShift manifests and include them as part of a workspace. See the devfile v2 specification for more details.
2.3. Configuring the service account used for running workspaces
With this update, administrators can configure the service account used for all workspace Pods by adding a
.spec.devEnvironments.serviceAccount field in the CheCluster custom resource.
2.4. Automatic installation of recommended extensions
With this update, the recommended extensions from the
.vscode/extensions.json file are automatically installed at workspace startup.
2.5. Updates to the sample projects
In OpenShift Dev Spaces 3.4, the sample projects provided in the dashboard have changed as follows:
- Python testing and linting with Flake8 works automatically out of the box.
- The .NET sample has access to a .NET 6 and 7 runtimes. .NET 3.1 has been removed from the Universal Developer Image (UDI).
- The CakePHP sample is replaced by a simpler "Hello, World" CLI PHP sample; Xdebug is now included.
- The Gradle sample has been removed.
2.6. Updated Universal Developer Image
In OpenShift Dev Spaces 3.4, the Universal Developer Image (UDI) is updated as follows:
- Python linting now uses Flake8 instead of Pylint in UI and command line.
- Dotnet 3.1 is removed.
- For PHP development: Composer and HTTPd have been removed, Xdebug is now included.
- Gradle is removed.
- Maven is updated to the latest RPM version 3.6.2-7.
- e2fsprogs is updated to the latest RPM version 1.45.6.
the Go language server
gopls, is upgraded to version 0.10.1.
- odo is updated to 3.4.0
To include other tools or runtimes, an administrator can extend or replace the UDI image with one that includes the tools appropriate for your organization and your users' needs. You can refer to the replacement image in the
CheCluster custom resource so that users can use the custom image in their devfiles. This will ensure that the tools and runtimes they need are persistent and do not need to be installed on each workspace startup.
Users can also develop their own UDI image(s) and refer to them from their devfiles. This requires publishing the image to a registry that is accessible from their organization’s cluster. However, this approach is less centralized and standardized, and may not scale or perform as well.
2.7. New DevWorkspace specification tab added to the User Dashboard
With this update, you can use the DevWorkspace tab from the Workspaces menu to view the specification of the DevWorkspace object that defines a workspace.