dnsopenshiftopenshift-4

OpenShift 4 domain change


We already have an OpenShift 4 cluster installed, setup and filled with some content, but the domain of the company has changed. If I'm right, the domain of OpenShift 4 cannot be updated by definition. So what are my possibilities to use the new domain instead of the old one? Should I delete, reinstall the cluster and make a migration somehow (how?), or is there any possibility to change the base domain of the whole cluster?

Thx, Peti


Solution

  • Depending on how "deep" you want to go to "rename" your cluster, if it is enough to have your apps to listen to the new domain name, you could simply add another ingress controller that will listen on your new domain name, given that te new domain name is known to the DNS

    Doc on ingress controller is here

    Also migrating from one cluster to another can be done by installing the migration operator (based on velero)

    Doc on migration tool here