OpenShift 3:设置+结构:什么是我的主节点?

我在CentOS7上安装了OpenShift Origin V3。 这是非常新的。 OpenShift V3使用Docker和Kubernetes而不是Gears和Broker。 我先安装了Docker。 ( https://docs.openshift.com/enterprise/3.0/cli_reference/get_started_cli.html )之后,我已经在Docker Container(method1)中安装了OpenShift( https://docs.openshift.org/latest/getting_started/ administrators.html#安装方法 。

我认为它工作正常,但我不知道,因为我不明白完整的设置。

所以首先我SSH到我的服务器。 在那里,我可以看到我的容器(OpenShift的一个容器):

sudo docker ps: 

输出:

 CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES eabbdfb75081 openshift/origin "/usr/bin/openshift openshift-origin 17 hours ago Up 17 hours 

我也可以看到我从Docker Hub获得的图像:

 sudo docker images 

输出:

 REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE docker.io/openshift/origin latest aa9fd3e02d8f 22 hours ago 424.4 MB docker.io/hello-world latest af340544ed62 5 weeks ago 

我可以访问我的OpenShift容器:

 [centos@ip ~]$ sudo docker exec -it openshift-origin bash [root@ip openshift]# 

但之后,我不知道该怎么做。 我不明白哪个是我的主,哪个是我的节点,他们是怎样一起工作的?

运行OpenShift容器时,它将在容器中运行主进程,节点进程和etcd(后端存储)。 运行容器的主机是您的节点(因为Openshift直接与Docker交谈)。 主地址将是您的容器地址。