Skip to main content
Redhat Developers  Logo
  • Products

    Platforms

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

    Featured

    • Red Hat build of OpenJDK
    • Red Hat Developer Hub
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat OpenShift Local
    • Red Hat Developer Sandbox

      Try Red Hat products and technologies without setup or configuration fees for 30 days with this shared Red Hat OpenShift and Kubernetes cluster.
    • Try at no cost
  • Technologies

    Featured

    • AI/ML
      AI/ML Icon
    • Linux
      Linux Icon
    • Kubernetes
      Cloud icon
    • Automation
      Automation Icon showing arrows moving in a circle around a gear
    • See all technologies
    • Programming languages & frameworks

      • Java
      • Python
      • JavaScript
    • System design & architecture

      • Red Hat architecture and design patterns
      • Microservices
      • Event-Driven Architecture
      • Databases
    • Developer experience

      • Productivity
      • Tools
      • GitOps
    • Automated data processing

      • AI/ML
      • Data science
      • Apache Kafka on Kubernetes
    • Platform engineering

      • DevOps
      • DevSecOps
      • Red Hat Ansible Automation Platform for applications and services
    • Secure development & architectures

      • Security
      • Secure coding
  • Learn

    Featured

    • Kubernetes & cloud native
      Openshift icon
    • Linux
      Rhel icon
    • Automation
      Ansible cloud icon
    • AI/ML
      AI/ML Icon
    • See all learning resources

    E-books

    • GitOps cookbook
    • Podman in action
    • Kubernetes operators
    • The path to GitOps
    • See all e-books

    Cheat sheets

    • Linux commands
    • Bash commands
    • Git
    • systemd commands
    • See all cheat sheets

    Documentation

    • Product documentation
    • API catalog
    • Legacy documentation
  • Developer Sandbox

    Developer Sandbox

    • Access Red Hat’s products and technologies without setup or configuration, and start developing quicker than ever before with our new, no-cost sandbox environments.
    • Explore the Developer Sandbox

    Featured Developer Sandbox activities

    • Get started with your Developer Sandbox
    • OpenShift virtualization and application modernization using the Developer Sandbox
    • Explore all Developer Sandbox activities

    Ready to start developing apps?

    • Try at no cost
  • Blog
  • Events
  • Videos

Enterprise multi-cluster scalability with OpenShift Dev Spaces

January 23, 2026
Ilya Buziuk
Related topics:
Developer toolsIDEsKubernetesQuarkus
Related products:
Developer ToolsRed Hat OpenShift Dev SpacesRed Hat OpenShift

    By design, Red Hat OpenShift Dev Spaces is not multi-cluster aware, and you can only have one instance per cluster. However, you can still run the product in a multi-cluster environment by deploying an instance in each cluster and using a load balancer or DNS-based routing to direct traffic to the appropriate instance based on the user’s location or other criteria. This approach can help improve performance and reliability by distributing the workload across multiple clusters and providing redundancy in case of cluster failures.

    Developer Sandbox

    One example of a multi-cluster architecture is workspaces.openshift.com, which is part of the Developer Sandbox. From the infrastructure perspective, the Developer Sandbox has multiple clusters of Red Hat OpenShift Service on AWS. On each cluster, Red Hat OpenShift Dev Spaces is installed and configured using Argo CD. Since the user base is spread across multiple clusters, workspaces.openshift.com is used as a single entry point to the Dev Spaces instances (Figure 1).

    Multi-cluster Developer Sandbox solution for Red Hat OpenShift Dev Spaces.
    Figure 1: The multicluster Developer Sandbox solution for OpenShift Dev Spaces.

    You can find implementation details about the Developer Sandbox redirector in the following GitHub repository. However, the solution for workspaces.openshift.com is Developer Sandbox-specific and can not be reused as-is in other environments. This article introduces a universal routing solution based on the OpenShift group membership.

    Multicluster redirector

    The devspaces-multicluster-redirector is an open-source, Quarkus-based intelligent routing service. It acts as a single gateway for developers, automatically redirecting them to the correct OpenShift Dev Spaces instance on the correct cluster based on their OpenShift group membership. Unlike the Developer Sandbox-specific solution, this redirector is designed to be a plug-and-play for any enterprise looking to scale their Red Hat OpenShift Dev Spaces across multiple OpenShift clusters.

    The multicluster redirector provides an intelligent routing service that automatically redirects users to their designated OpenShift Dev Spaces instance based on their OpenShift group membership. This enables organizations to manage multiple OpenShift Dev Spaces instances and seamlessly route users to the appropriate instance. In enterprise environments with multiple OpenShift Dev Spaces deployments across different clusters, users need to be directed to the correct instance based on their team, project, or organizational unit. This redirector service solves that problem by:

    1. Authentication: The user is authenticated via the OpenShift OAuth Proxy sidecar.
    2. Identification: The user's identity and group information are passed to the Quarkus application via HTTP headers (X-Forwarded-User, X-Forwarded-Groups).
    3. Group lookup: The application queries the OpenShift API using the Fabric8 Kubernetes client to verify current group memberships.
    4. Mapping and redirection: The application checks a JSON-based mapping (stored in a ConfigMap) to find which OpenShift Dev Spaces URL corresponds to the user's group.
    5. Seamless handoff: The user is redirected to their designated cluster (e.g., team-alpha goes to Cluster A and team-beta goes to Cluster B).

    Host cluster requirement

    An important requirement is that all users must be provisioned to the host cluster where the devspaces-multicluster-redirector will be physically deployed, since the OpenShift groups on this cluster are the key determination of the redirect logic.

    kind: Group
    apiVersion: user.openshift.io/v1
    metadata:
      name: team-alpha
    users:
      - user1
      - user2
      - user3

    Even if user1 , user2 , and user3 never actually run a workload on the host cluster, they must pass through its OAuth flow so the redirector can identify them and determine their OpenShift Dev Spaces instance based on the mapping.

    Note: The host cluster may or may not have the OpenShift Dev Spaces instance installed. If the OpenShift Dev Spaces is installed on the host cluster, advancedAuthorization is expected to be used for managing the Dev Spaces access on this cluster. You can find more details about the setup in the dedicated article, How to configure granular access in OpenShift Dev Spaces.

    Mapping

    The mapping between OpenShift groups and OpenShift Dev Spaces URLs is stored in the devspaces-openshift-group-mapping ConfigMap. The redirector is designed to watch this file. If you add a new team or a new cluster, you simply update the ConfigMap. The application detects the change via symlink resolution and updates its routing table in real-time without a restart. 

    apiVersion: v1
    kind: ConfigMap
    metadata:
      name: devspaces-openshift-group-mapping
    data:
      group-mapping.json: |
        {
          "team-alpha": "https://devspaces-alpha.example.com",
          "team-beta": "https://devspaces-beta.example.com",
          "contractors": "https://devspaces-external.example.com"
        }

    Note: In a simple setup, a user belongs to only one team or group, and is redirected to their OpenShift Dev Spaces instance instantly. However, in a large enterprise, roles are rarely that static, and the user can technically belong to multiple OpenShift groups. In this case, the selection dashboard with multiple OpenShift Dev Spaces instances will be displayed (Figure 2).

    Handling Multiple OpenShift Groups with the Dev Spaces Multicluster Redirector.
    Figure 2: Handling multiple OpenShift groups with the multicluster redirector.

    Wrap up

    Scaling Red Hat OpenShift Dev Spaces to thousands of users often requires a multi-cluster strategy to avoid resource contention and provide geographic proximity. The multicluster redirector bridges the gap between a fragmented multi-cluster setup and a seamless developer experience. By leveraging OpenShift groups, you can ensure that every developer lands exactly where they need to be, while your infrastructure team maintains the flexibility to scale clusters behind the scenes. The multicluster redirector will be available as an optional component starting from the Red Hat OpenShift Dev Spaces 3.27 release in March 2026. Stay tuned!

    Want to try the community-supported version now? Check out the repository on GitHub and start scaling your cloud development environments.

    Related Posts

    • Red Hat OpenShift Dev Spaces security best practices

    • How to configure granular access in OpenShift Dev Spaces

    • Run privileged commands more securely in OpenShift Dev Spaces

    • Enable nested containers in OpenShift Dev Spaces with user namespaces

    Recent Posts

    • Enterprise multi-cluster scalability with OpenShift Dev Spaces

    • Camel integration quarterly digest: Q4 2025

    • Monitoring OpenStack and OpenShift together

    • Simplifying transit router deployment in Open Virtual Network

    • Selective network hosting with BGP router in OpenShift

    What’s up next?

    Learning Path OpenShift Dev Spaces and JKube

    How to manage microservices using OpenShift Dev Spaces and JKube

    In this learning path, we will deploy and update a distributed application on...
    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
    © 2025 Red Hat

    Red Hat legal and privacy links

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

    Report a website issue