OpenShift 3: Setup + Structure: What is my master + node?
I have installed OpenShift Origin V3 on CentOS7. It’s pretty new.
OpenShift V3 uses Docker and Kubernetes instead of Gears and Broker.
I have installed Docker first. (https://docs.openshift.com/enterprise/3.0/cli_reference/get_started_cli.html) After that I’ve installed OpenShift in a Docker Container (method1) (https://docs.openshift.org/latest/getting_started/administrators.html#installation-methods.
I think it works fine but I’m not sure because I don’t understand the full setup.
So first I SSH to my server.
There I’m able to see my containers (1 container for 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
I can also see the images I’ve from 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
I’m able to access my container of OpenShift:
[centos@ip ~]$ sudo docker exec -it openshift-origin bash [root@ip openshift]#
But after that I don’t really know what to do. I don’t understand which is my Master and which my Node and how do they really work together?
One Solution collect form web for “OpenShift 3: Setup + Structure: What is my master + node?”
When you run the OpenShift container, it’s running both a master process, a node process, and etcd (the backend storage) inside the container. The host that runs the container is your node (because Openshift is talking to Docker directly). The master address would be your container address.