summaryrefslogtreecommitdiffstats
path: root/inventory/byo
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2015-08-31 15:09:33 -0400
committerBrenton Leanhardt <bleanhar@redhat.com>2015-08-31 15:09:33 -0400
commit201500abfd535266e54c9684c01e3f7ff462863d (patch)
treecbcedd66e3bbeaa6c1f62643f87c8db66e5969f2 /inventory/byo
parent2f9e5e2f6f76192a9ea0ccc687fcc7b8b16706a6 (diff)
parent75780dc9f99c935be19134cecaee600193418755 (diff)
downloadopenshift-201500abfd535266e54c9684c01e3f7ff462863d.tar.gz
openshift-201500abfd535266e54c9684c01e3f7ff462863d.tar.bz2
openshift-201500abfd535266e54c9684c01e3f7ff462863d.tar.xz
openshift-201500abfd535266e54c9684c01e3f7ff462863d.zip
Merge pull request #530 from sdodson/fix-hosts-file
Make all nodes schedulable by default in byo example inventory
Diffstat (limited to 'inventory/byo')
-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'}"