I have an Openshift cluster created inside Azure cloud provider.
I have created some pods and exposed some of them to outside the cluster using Routes.
The route generally comes with some default canonical name something like below
"http://vote-voting-application.apps.xxxxxx.southeastasia.aroapp.io" .
Lets assume I have a domain name called avenir.com , How can I configure my openshift cluster to use this domain name avenir.com to use instead of "apps.xxxxxx.southeastasia.aroapp.io".
Please help in achieving this .
Any type of help is highly appreciated.
Thanks in Advance :)
OpenShift Routes will default to an auto-generated hostname but that can be overridden by setting
.spec.hostname
For example:
OpenShift uses something.apps.cluster-name.domain by default because it sets up wildcard DNS to return the IP of the ingress VIP.
NOTE: You are responsible for setting up DNS to direct traffic for avenir.com to your ingress VIP. You could simply make the DNS record for avenir.com a CNAME to something.apps.cluster-name.domain (or in your example something.apps.xxxxxx.southeastasia.aroapp.io)