summaryrefslogtreecommitdiffstats
path: root/playbooks/gce
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2015-06-22 15:19:53 -0400
committerBrenton Leanhardt <bleanhar@redhat.com>2015-06-22 15:48:07 -0400
commit66dd4499a7e17b985f6033370e5e8b5a9c8f04ac (patch)
tree68a46a290072f5d4f6d7fe81ebf81d9b02f4ff23 /playbooks/gce
parenta7ac3f7b513fe57ddccad15bdb6c7e9091f16bcd (diff)
downloadopenshift-66dd4499a7e17b985f6033370e5e8b5a9c8f04ac.tar.gz
openshift-66dd4499a7e17b985f6033370e5e8b5a9c8f04ac.tar.bz2
openshift-66dd4499a7e17b985f6033370e5e8b5a9c8f04ac.tar.xz
openshift-66dd4499a7e17b985f6033370e5e8b5a9c8f04ac.zip
Adding support for labeling nodes as unscheduleable
For idempotency it first checks the output of 'oc get node <hostname>' to see if any action needs to be taken. The trick was waiting to make sure that the node autoregistration had actually happened. If you set openshift_scheduleable=False in the inventory then the node will be marked as unscheduleable. Likewise setting it to True undoes the change. Having openshift_scheduleable undefined is the same as True since that is the default state of a Node.
Diffstat (limited to 'playbooks/gce')
0 files changed, 0 insertions, 0 deletions