![OpenShift/OKD 集群 - 与外部/外部域一起使用](https://linux22.com/image/767913/OpenShift%2FOKD%20%E9%9B%86%E7%BE%A4%20-%20%E4%B8%8E%E5%A4%96%E9%83%A8%2F%E5%A4%96%E9%83%A8%E5%9F%9F%E4%B8%80%E8%B5%B7%E4%BD%BF%E7%94%A8.png)
我有一个已启动并运行的 OpenShift/OKD 集群,并使用以下域...
certain.domain
在这个领域中我拥有这些(以及其他)功能......
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
问题:我拥有这个其他(外部/外部)域名...
another.domain
....我需要上面提到的资源来回应如下...
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
。
重要的:我们目前的主要困难是 Web 控制台,因为它的 URL 不使用相对路径。也就是说,它的(绝对路径)URL 在域中certain.domain
,我们找不到简单的方法使其使用和消耗 URL another.domain
。
谢谢!=D