0

我们通过以下方式创建了一个 Azure Red Hat OpenShift (ARO) 集群:

az openshift create --resource-group $CLUSTER_NAME --name $CLUSTER_NAME -l $LOCATION --aad-client-app-id $APPID --aad-client-app-secret $SECRET --aad-tenant-id $TENANT --customer-admin-group-id $GROUPID

集群的 URL 以以下形式出现:

https://openshift.<cluster-id>.<cluster-region>.azmosa.io/

有没有办法给它一个更清晰、人类可读的 URL,例如:

https://openshift.myprodcluster.<cluster-region>.azmosa.io/
4

1 回答 1

1

正如@Will Gordon 评论的那样,我认为您不能更改https://openshift.<cluster-id>.<cluster-region>.azmosa.io/Azure 平台提供的默认 URL。

如果您需要一个更清晰、人类可读的 URL,您可以尝试添加一个CNAMEDNS 记录,该记录将您的自定义域名映射到您的 DNS 提供商中的www.contoso.com此主机名。openshift.<cluster-id>.<cluster-region>.azmosa.io

如果是这样,您将需要购买公共域并通过安全的 HTTPS 连接获得具有该自定义 DNS 名称的 SSL 证书。您还可以从Let's Encrypt获得免费的 SSL 证书。

于 2019-11-29T12:35:19.843 回答