我们通过以下方式创建了一个Azure Red ( OpenShift )集群:
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/发布于 2019-11-29 20:35:20
正如@Will Gordon评论的那样,我不认为你可以改变Azure平台提供的默认URL https://openshift.<cluster-id>.<cluster-region>.azmosa.io/。
如果你需要一个干净的,人类可读的网址,你可以尝试添加一个DNS记录,它将你的自定义域名(如www.contoso.com )映射到你的CNAME提供商中的这个主机名openshift.<cluster-id>.<cluster-region>.azmosa.io。
如果是这样,您将需要购买一个公用域,并通过安全HTTPS连接获得具有该自定义DNS名称的SSL证书。您还可以从Let’s Encrypt获得免费的SSL证书。
https://stackoverflow.com/questions/59051950
复制相似问题