Score:0

OpenShift/OKD cluster - Use with external/outside domain

in flag

I have an OpenShift/OKD cluster already up and running and using the following domain...

certain.domain

Within this domain I have these (among others) features working...

console-openshift-console.apps.okdsubdom.certain.domain
oauth-openshift.apps.okdsubdom.certain.domain
prometheus-k8s-openshift-monitoring.apps.okdsubdom.certain.domain
grafana-openshift-monitoring.apps.okdsubdom.certain.domain
alertmanager-main-openshift-monitoring.apps.okdsubdom.certain.domain

QUESTION: I own this other (external/outside) domain...

another.domain

.... and I need the resources mentioned above to respond to it as below...

console-openshift-console.apps.okdsubdom.another.domain
oauth-openshift.apps.okdsubdom.another.domain
prometheus-k8s-openshift-monitoring.apps.okdsubdom.another.domain
grafana-openshift-monitoring.apps.okdsubdom.another.domain
alertmanager-main-openshift-monitoring.apps.okdsubdom.another.domain

.


IMPORTANT: Our main difficulty these days is the Web Console because it doesn't use relative paths for its URLs. That is, its (absolute path) URLs are in the domain certain.domain and we can't find a simple way to make it use and consume the URL another.domain.

Thanks! =D

Noam Yizraeli avatar
in flag
what about creating a CNAME DNS record from the first domain to the second one?
Eduardo Lucio avatar
in flag
Hmmm... How would that be? =D
Noam Yizraeli avatar
in flag
are `certain.domain` and `another.domain` publicly accessed? configured through some DNS provider or your private DNS server (and are you able to change them)? is `certain.domain` a private one or just a defferent one? all those questions are for answering better but in general, a CNAME record points to another DNS record unlike a regular dns record which points to an IP address (very generally speaking). In your case you might benefit from pointing `another.domain` to `certain.domain` using a CNAME record or alike.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.