Cloud Experts Documentation

Stop default router from serving custom domain routes

This content is authored by Red Hat experts, but has not yet been tested on every supported configuration.

Note: This page is only valid for clusters using the Custom Domain Operator (CDO), which are ROSA clusters prior to version 4.14

OSD and ROSA supports custom domain operator to serve application custom domain, which provisions openshift ingress controller and cloud load balancers. However, when a route with custom domain is created, both default router and custom domain router serve routes. This article describes how to use route labels to stop default router from serving custom domain routes.

Prerequisites

Problem Demo

Deploy A Custom Domain

Create a sample application and Route

Both default router and custom router serve the routes

End user can access the app from both ingress controllers’ cloud load balancer

Stop the default router from serving custom domain routes

Delete the route

Custom Domain only serve routes with corresponding custom domain label

Exclude default router with corresponding custom domain label

Create route with custom domain label

Only Custom Domain router route the traffic

Interested in contributing to these docs?

Collaboration drives progress. Help improve our documentation The Red Hat Way.

Red Hat logo LinkedIn YouTube Facebook Twitter

Products

Tools

Try, buy & sell

Communicate

About Red Hat

We’re the world’s leading provider of enterprise open source solutions—including Linux, cloud, container, and Kubernetes. We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Subscribe to our newsletter, Red Hat Shares

Sign up now
© 2023 Red Hat, Inc.