summaryrefslogtreecommitdiffstats
path: root/playbooks/byo/openshift-cluster/upgrades
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2017-01-26 19:59:05 -0500
committerGitHub <noreply@github.com>2017-01-26 19:59:05 -0500
commit3e00b0082c1af7cc77957bbad9ea514874681fb1 (patch)
tree14ccfa4385cb562ef486713ea73600458fd15f0a /playbooks/byo/openshift-cluster/upgrades
parent8f2b3f132bc6cd03640c31c0c33cffb01f80138c (diff)
parent31f0a163e0d970bce376fe1f75b8dcc390a162c4 (diff)
downloadopenshift-3e00b0082c1af7cc77957bbad9ea514874681fb1.tar.gz
openshift-3e00b0082c1af7cc77957bbad9ea514874681fb1.tar.bz2
openshift-3e00b0082c1af7cc77957bbad9ea514874681fb1.tar.xz
openshift-3e00b0082c1af7cc77957bbad9ea514874681fb1.zip
Merge pull request #3198 from mtnbikenc/drain-fix
Correct usage of draining nodes
Diffstat (limited to 'playbooks/byo/openshift-cluster/upgrades')
-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