Peter Nagy
Peter Nagy

Reputation: 3

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

Upvotes: 0

Views: 1666

Answers (2)

titou10
titou10

Reputation: 2977

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

Upvotes: 1

Daein Park
Daein Park

Reputation: 4693

As you know, the OCP4 cannot change the base domain after installation due to referred certificates CN and initial configurations depended on base domain. First of all, I suggest you to ask for RH supports whether you can create additional cluster for migration or not. Then usually, you may migrate your current system to new cluster installed with new base domain through provided migration tool. Refer Migration tools and prerequisites for more details.

Upvotes: 2

Related Questions