diff options
author | Tim Bielawa <timbielawa@gmail.com> | 2016-12-19 09:15:52 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-19 09:15:52 -0800 |
commit | 735229cee3fb1af5f0c67717554d419f5201686c (patch) | |
tree | 1b611657db8810f465c853fff9897e5417ee11e2 /playbooks/common/openshift-cluster/upgrades | |
parent | b8109cdf7e909eb6a255c795a99b078b850f49f0 (diff) | |
parent | 96df370b8208d0a90dac7e38857dbcdce52fd161 (diff) | |
download | openshift-735229cee3fb1af5f0c67717554d419f5201686c.tar.gz openshift-735229cee3fb1af5f0c67717554d419f5201686c.tar.bz2 openshift-735229cee3fb1af5f0c67717554d419f5201686c.tar.xz openshift-735229cee3fb1af5f0c67717554d419f5201686c.zip |
Merge pull request #2986 from tbielawa/deprecate_node_evacuation
Deprecate node 'evacuation' with 'drain'
Diffstat (limited to 'playbooks/common/openshift-cluster/upgrades')
-rw-r--r-- | playbooks/common/openshift-cluster/upgrades/upgrade_nodes.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/upgrade_nodes.yml b/playbooks/common/openshift-cluster/upgrades/upgrade_nodes.yml index cefc7d12b..68b111df4 100644 --- a/playbooks/common/openshift-cluster/upgrades/upgrade_nodes.yml +++ b/playbooks/common/openshift-cluster/upgrades/upgrade_nodes.yml @@ -1,5 +1,5 @@ --- -- name: Evacuate and upgrade nodes +- name: Drain and upgrade nodes hosts: oo_nodes_to_upgrade # This var must be set with -e on invocation, as it is not a per-host inventory var # and is evaluated early. Values such as "20%" can also be used. @@ -39,9 +39,9 @@ retries: 3 delay: 1 - - name: Evacuate Node for Kubelet upgrade + - name: Drain Node for Kubelet upgrade command: > - {{ hostvars[groups.oo_first_master.0].openshift.common.client_binary }} adm manage-node {{ openshift.node.nodename | lower }} --evacuate --force + {{ hostvars[groups.oo_first_master.0].openshift.common.client_binary }} adm manage-node {{ openshift.node.nodename | lower }} --drain --force delegate_to: "{{ groups.oo_first_master.0 }}" when: inventory_hostname in groups.oo_nodes_to_upgrade |