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.
    • Guided learning
      Receive custom learning paths powered by our AI assistant.
    • 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

Enterprise multi-cluster scalability with OpenShift Dev Spaces

January 23, 2026
Ilya Buziuk
Related topics:
Developer toolsIDEsKubernetesQuarkus
Related products:
Developer ToolsetRed 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

    • MCP servers vs. skills: Choosing the right context for your AI

    • How to route external and local LLMs with Models-as-a-Service

    • Protect data offloaded to GPU-accelerated environments with OpenShift sandboxed containers

    • Case study: Measuring energy efficiency on the x64 platform

    • How to prevent AI inference stack silent failures

    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
    © 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.