summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades
diff options
context:
space:
mode:
authorTim Bielawa <tbielawa@redhat.com>2016-12-16 08:41:40 -0800
committerTim Bielawa <tbielawa@redhat.com>2016-12-16 13:45:41 -0800
commit96df370b8208d0a90dac7e38857dbcdce52fd161 (patch)
treeaafb54c022ec6aba9a99bfa4d845a8926b1152e7 /playbooks/common/openshift-cluster/upgrades
parent002fdef1769baccdd6c90a4caa8c0028ec9559db (diff)
downloadopenshift-96df370b8208d0a90dac7e38857dbcdce52fd161.tar.gz
openshift-96df370b8208d0a90dac7e38857dbcdce52fd161.tar.bz2
openshift-96df370b8208d0a90dac7e38857dbcdce52fd161.tar.xz
openshift-96df370b8208d0a90dac7e38857dbcdce52fd161.zip
Deprecate node 'evacuation' with 'drain'
* https://trello.com/c/TeaEB9fX/307-3-deprecate-node-evacuation
Diffstat (limited to 'playbooks/common/openshift-cluster/upgrades')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/upgrade_nodes.yml6
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