summaryrefslogtreecommitdiffstats
path: root/inventory/byo/hosts.example
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2015-08-28 12:09:41 -0400
committerScott Dodson <sdodson@redhat.com>2015-08-31 10:17:13 -0400
commit75780dc9f99c935be19134cecaee600193418755 (patch)
tree2e147e17db2d3a6abeee1c4be29d3e2a278831f2 /inventory/byo/hosts.example
parentbac81adf9d7036e02db457eb78d5d91c3d630cd9 (diff)
downloadopenshift-75780dc9f99c935be19134cecaee600193418755.tar.gz
openshift-75780dc9f99c935be19134cecaee600193418755.tar.bz2
openshift-75780dc9f99c935be19134cecaee600193418755.tar.xz
openshift-75780dc9f99c935be19134cecaee600193418755.zip
Make masters schedulable in byo example
... but note why you wouldn't want them to be
Diffstat (limited to 'inventory/byo/hosts.example')
-rw-r--r--inventory/byo/hosts.example6
1 files changed, 4 insertions, 2 deletions
diff --git a/inventory/byo/hosts.example b/inventory/byo/hosts.example
index 300fd7ac3..c83741611 100644
--- a/inventory/byo/hosts.example
+++ b/inventory/byo/hosts.example
@@ -76,7 +76,9 @@ ose3-master[1:3]-ansible.test.example.com
[etcd]
ose3-etcd[1:3]-ansible.test.example.com
-# host group for nodes
+# NOTE: Currently we require that masters be part of the SDN which requires that they also be nodes
+# However, in order to ensure that your masters are not burdened with running pods you should
+# make them unschedulable by adding openshift_scheduleable=False any node that's also a master.
[nodes]
-ose3-master[1:3]-ansible.test.example.com openshift_scheduleable=False
+ose3-master[1:3]-ansible.test.example.com
ose3-node[1:2]-ansible.test.example.com openshift_node_labels="{'region': 'primary', 'zone': 'default'}"