Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

CodeReady Workspaces scales up, is now Red Hat OpenShift Dev Spaces

April 1, 2022
Mario Loriedo
Related topics:
Developer toolsIDEsKubernetesOperators
Related products:
Developer ToolsetRed Hat OpenShift Dev SpacesRed Hat OpenShift

    On June 14th, Red Hat released the Red Hat OpenShift Dev Spaces development platform, a higher-performing, richer, and renamed version of Red Hat CodeReady Workspaces. The platform has been significantly upgraded by moving to a Kubernetes Operator. This article explains the major changes in this upgrade and their effects on administrators and users.

    The team worked on this version for over a year and introduced the new platform as a tech preview after CodeReady Workspaces 2.10. The official name of this release is Red Hat OpenShift Dev Spaces 3.0.

    Changes to the workspace engine

    The core of CodeReady Workspaces used to be a Java REST web service named che-server, which provisioned pods and other objects to run development environments on Red Hat OpenShift. With OpenShift Dev Spaces 3.0, we are introducing a new OpenShift Operator to replace the che-server: the DevWorkspace Operator (Figure 1). This is a big architectural change whose benefits we'll summarize in the following sections.

    The engine between the user interface and the workspace is now a Kubernetes Operator instead of a Java REST service
    Figure 1: The engine between the user interface and the workspace is now a Kubernetes Operator instead of a Java REST service.

    Scalability and high availability

    The che-server could not scale horizontally: it wasn't possible to run two instances concurrently. The new engine is a Kubernetes controller, so it runs behind the kube-apiserver that is designed to scale horizontally. The data is persisted in an etcd key-value store that is designed to be highly available.

    A universal API

    Workspaces are Kubernetes objects. Useful traits of this architecture include:

    • Kubernetes clients such as kubectl or the OpenShift console can manage them.
    • They are secured via Kubernetes RBAC.
    • They can be validated and protected by admission webhooks.
    • The devfile specification is automatically generated from the API.

    A simpler design

    The new workspace engine has a single responsibility, which is to manage workspace resources. The engine is decoupled from the developer's IDE and the server-side components of the OpenShift Dev Spaces service. Communication between components happens asynchronously using ConfigMaps and Secrets rather than a REST API.

    An opportunity for refactoring

    The new engine has been written from scratch, and we took the opportunity to address some of the main issues reported by our users:

    • Simpler configuration for the administrator
    • No hard dependency on Red Hat's single sign-on technology
    • Simpler network model and TLS certificate management with one unique gateway

    What's changing?

    The switch to the DevWorkspace Operator introduces changes for existing users and administrators of CodeReady Workspaces. Here is a summary.

    Administration

    There is a new server-side component: the gateway (powered by the open source reverse proxy Traefik) that handles users' connection to the IDEs. Several simplifications have been made to administration, along with new options:

    • User workspaces can be managed with the oc command-line interface (CLI) or via the OpenShift console.
    • CRW doesn't require Red Hat's SSO anymore and uses OpenShift OAuth for authentication.
    • Deployment is simpler because there are fewer configuration options. For instance, the namespace strategy and the exposure strategy are set to "per-user" and "single-host" respectively, as we have observed that users want those settings.
    • The operator installation mode is "all namespaces."

    User experience

    Our enhancements to the user experience include:

    • We now support version 2 of the devfile spec, which has some significant improvements in regard to parents and events. Version 1 devfiles also continue to be supported.
    • Devfiles are IDE agnostic and don't include plug-in definitions anymore. IDE-specific configurations are managed in separate files as extensions.json in Visual Studio Code.
    • We have added tech preview support for VisualStudio Code as an IDE (in addition to Eclipse Theia and JetBrains IDEs).
    • Workspaces load faster, with fewer containers per workspace.

    How to get OpenShift Dev Spaces

    Red Hat OpenShift Dev Spaces is available with OpenShift 4.10 or higher. Installation can be done through the usual channels, via the OperatorHub or the command line.

    If you're an existing Red Hat CodeReady Workspaces customer you won't be upgraded automatically to OpenShift Dev Spaces. You'll need need to follow a manual procedure to upgrade your instance.

    To learn more, check out the following resources:

    • Red Hat OpenShift Dev Spaces 3.0 Documentation
    • Red Hat OpenShift Dev Spaces 3.0 Release Notes and Known Issues
    • Upgrading CodeReady Workspaces 2.15
    • VS Code and IntelliJ with CodeReady Workspaces v2.15 (Tech Preview)
    • Migrating to devfile v2

    Kudos to the whole Che team at Red Hat that worked hard on this challenging pivot.

    Last updated: August 12, 2024

    Related Posts

    • Using a custom devfile registry and C++ with Red Hat CodeReady Workspaces

    • Support for IBM Z and more in CodeReady Workspaces 2.4

    Recent Posts

    • Federated identity across the hybrid cloud using zero trust workload identity manager

    • Confidential virtual machine storage attack scenarios

    • Introducing virtualization platform autopilot

    • Integrate zero trust workload identity manager with Red Hat OpenShift GitOps

    • Best Practice Configuration and Tuning for Linux and Windows VMs

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer tools
    • Interactive tutorials
    • API catalog

    Quicklinks

    • Learning resources
    • E-books
    • Cheat sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site status dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2026 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Chat Support

    Please log in with your Red Hat account to access chat support.