diff options
author | Brenton Leanhardt <bleanhar@redhat.com> | 2015-06-22 15:19:53 -0400 |
---|---|---|
committer | Brenton Leanhardt <bleanhar@redhat.com> | 2015-06-22 15:48:07 -0400 |
commit | 66dd4499a7e17b985f6033370e5e8b5a9c8f04ac (patch) | |
tree | 68a46a290072f5d4f6d7fe81ebf81d9b02f4ff23 /roles/openshift_repos/meta | |
parent | a7ac3f7b513fe57ddccad15bdb6c7e9091f16bcd (diff) | |
download | openshift-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 'roles/openshift_repos/meta')
0 files changed, 0 insertions, 0 deletions