我目前正在尝试了解更多关于OpenShift源的知识,并在VMWare融合上部署了一个CentOS VM。我按照OpenShift快速入门指南安装并运行了OpenShift源服务器。但是,当我尝试部署测试应用程序时,在部署过程中得到以下错误。
在添加新的-app时,我也收到以下消息
oc new-app openshift/deployment-example
--> Found Docker image 1c839d8 (2 years old) from Docker Hub for "openshift/deployment-example"
* An image stream will be created as "deployment-example:latest" that will track this image
* This image will be deployed in deployment config "deployment-example"
* Port 8080/tcp will be load balanced by service "deployment-example"
* Other containers can access this service through the hostname "deployment-example"
* WARNING: Image "openshift/deployment-example" runs as the 'root' user which may not be permitted by your cluster administrator
--> Creating resources ...
imagestream "deployment-example" created
deploymentconfig "deployment-example" created
service "deployment-example" created
--> Success
**WARNING: No Docker registry has been configured with the server. Automatic builds and deployments may not function.**
需要执行哪些操作才能在我的虚拟机上成功部署它?我不确定上面的警告消息是否与该问题有关。
发布于 2017-12-26 04:32:34
我弄错了端口8443/tcp没有打开。是不是用了
sudo firewall-cmd --zone=public --add-port=8443/tcp --permanent
sudo firewall-cmd --reload
它开始工作了
https://stackoverflow.com/questions/47954295
复制相似问题