OpenShift Runtime: Difference between revisions
No edit summary |
|||
Line 9: | Line 9: | ||
* [[#etcd|etcd]] | * [[#etcd|etcd]] | ||
* [[#master_Daemons|master daemon or daemons (controller | * [[#master_Daemons|master daemon or daemons (api, then controller)]] | ||
* [[#node_Daemon|node daemon]] | * [[#node_Daemon|node daemon]] | ||
Line 34: | Line 34: | ||
In a non-HA deployment, the [[#master_controller_Daemon|master controller daemon]] and [[#master_api_Daemon|master api daemon]] and are coalesced in a single process. In HA environments, they are separated, so the [[#master_api_Daemon|master api daemon]] processes can be load-balanced among, while the [[#master_controller_Daemon|master controller daemon]] run in an active/passive configuration, there is just one active [[#master_controller_Daemon|master controller daemon]] instance in the cluster. | In a non-HA deployment, the [[#master_controller_Daemon|master controller daemon]] and [[#master_api_Daemon|master api daemon]] and are coalesced in a single process. In HA environments, they are separated, so the [[#master_api_Daemon|master api daemon]] processes can be load-balanced among, while the [[#master_controller_Daemon|master controller daemon]] run in an active/passive configuration, there is just one active [[#master_controller_Daemon|master controller daemon]] instance in the cluster. | ||
===master api Daemon=== | |||
Depends On: [[#Etcd|etcd]] | |||
Unit: <tt>atomic-openshift-master-controllers.service</tt> | |||
Unit File: <tt>/usr/lib/systemd/system/atomic-openshift-master-controllers.service</tt> | |||
Working Directory: <tt>/var/lib/etcd</tt> | |||
Configuration File: <tt>/etc/etcd/etcd.conf</tt> | |||
Process: | |||
<pre> | |||
/usr/bin/etcd --name=master1.rdu20.internal --data-dir=/var/lib/etcd --listen-client-urls=https://192.199.0.199:2379 | |||
</pre> | |||
===master controller Daemon=== | ===master controller Daemon=== | ||
Line 50: | Line 70: | ||
/usr/bin/etcd --name=master1.rdu20.internal --data-dir=/var/lib/etcd --listen-client-urls=https://192.199.0.199:2379 | /usr/bin/etcd --name=master1.rdu20.internal --data-dir=/var/lib/etcd --listen-client-urls=https://192.199.0.199:2379 | ||
</pre> | </pre> | ||
=Regular Node= | =Regular Node= | ||
==node Daemon== | ==node Daemon== |
Revision as of 20:42, 17 May 2017
Internal
Master Node
The master node runs, in order, these services:
The master daemon (or daemons) must be started after etcd is started, they depend on etcd. They are started before the node service.
etcd Daemon
Unit: etcd.service
Unit File: /usr/lib/systemd/system/etcd.service
Working Directory: /var/lib/etcd
Configuration File: /etc/etcd/etcd.conf
Process:
/usr/bin/etcd --name=master1.rdu20.internal --data-dir=/var/lib/etcd --listen-client-urls=https://192.199.0.199:2379
master Daemons
In a non-HA deployment, the master controller daemon and master api daemon and are coalesced in a single process. In HA environments, they are separated, so the master api daemon processes can be load-balanced among, while the master controller daemon run in an active/passive configuration, there is just one active master controller daemon instance in the cluster.
master api Daemon
Depends On: etcd
Unit: atomic-openshift-master-controllers.service
Unit File: /usr/lib/systemd/system/atomic-openshift-master-controllers.service
Working Directory: /var/lib/etcd
Configuration File: /etc/etcd/etcd.conf
Process:
/usr/bin/etcd --name=master1.rdu20.internal --data-dir=/var/lib/etcd --listen-client-urls=https://192.199.0.199:2379
master controller Daemon
Unit: atomic-openshift-master-controllers.service
Unit File: /usr/lib/systemd/system/atomic-openshift-master-controllers.service
Working Directory: /var/lib/etcd
Configuration File: /etc/etcd/etcd.conf
Process:
/usr/bin/etcd --name=master1.rdu20.internal --data-dir=/var/lib/etcd --listen-client-urls=https://192.199.0.199:2379