summaryrefslogtreecommitdiffstats
path: root/playbooks/byo
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2017-01-26 15:25:34 -0500
committerRussell Teague <rteague@redhat.com>2017-01-26 15:38:22 -0500
commit31f0a163e0d970bce376fe1f75b8dcc390a162c4 (patch)
treee6cb36147f94cae62673d019e1305bd465032b9f /playbooks/byo
parent0dcb6f17107ab6d726e7c22ab379387f145dc993 (diff)
downloadopenshift-31f0a163e0d970bce376fe1f75b8dcc390a162c4.tar.gz
openshift-31f0a163e0d970bce376fe1f75b8dcc390a162c4.tar.bz2
openshift-31f0a163e0d970bce376fe1f75b8dcc390a162c4.tar.xz
openshift-31f0a163e0d970bce376fe1f75b8dcc390a162c4.zip
Correct usage of draining nodes
Diffstat (limited to 'playbooks/byo')
-rw-r--r--playbooks/byo/openshift-cluster/upgrades/docker/docker_upgrade.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/byo/openshift-cluster/upgrades/docker/docker_upgrade.yml b/playbooks/byo/openshift-cluster/upgrades/docker/docker_upgrade.yml
index dc0bf73a2..13e1da961 100644
--- a/playbooks/byo/openshift-cluster/upgrades/docker/docker_upgrade.yml
+++ b/playbooks/byo/openshift-cluster/upgrades/docker/docker_upgrade.yml
@@ -31,7 +31,7 @@
- name: Drain Node for Kubelet upgrade
command: >
- {{ openshift.common.client_binary }} adm manage-node {{ openshift.node.nodename }} {{ openshift.common.evacuate_or_drain }} --force
+ {{ openshift.common.admin_binary }} drain {{ openshift.node.nodename }} --force --delete-local-data
delegate_to: "{{ groups.oo_first_master.0 }}"
when: l_docker_upgrade is defined and l_docker_upgrade | bool and inventory_hostname in groups.oo_nodes_to_upgrade