1.4.2. 确认安装
您必须具有受支持的 Red Hat OpenShift Container Platform 版本,包括 registry 和存储服务,在集群中安装并正常工作。有关安装 OpenShift Container Platform 的更多信息,请参阅 OpenShift Container Platform 文档。
为确保正确设置 OpenShift Container Platform 集群,请访问 OpenShift Container Platform Web 控制台。
运行
kubectl -n openshift-console get route命令来访问 OpenShift Container Platform Web 控制台。
请参见以下示例输出:
+
openshift-console console console-openshift-console.apps.new-coral.purple-chesterfield.com console https reencrypt/Redirect None
openshift-console console console-openshift-console.apps.new-coral.purple-chesterfield.com console https reencrypt/Redirect None
+ 本例中的控制台 URL 是:https://console-openshift-console.apps.new-coral.purple-chesterfield.com。
-
在浏览器中打开 URL 并检查结果。如果控制台 URL 显示
console-openshift-console.router.default.svc.cluster.local,当安装 OpenShift Container Platform 时把openshift_master_default_subdomain设置为这个值。 - 请参阅调整集群大小以了解如何为您的 hub 集群设置容量。