From eab686bd564dd82b86aa78bed9705307d274373a Mon Sep 17 00:00:00 2001 From: Matthew Mosesohn Date: Thu, 23 Mar 2017 19:19:51 +0300 Subject: [PATCH] ensure post-upgrade purge ones only once --- roles/kubernetes/master/tasks/post-upgrade.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/kubernetes/master/tasks/post-upgrade.yml b/roles/kubernetes/master/tasks/post-upgrade.yml index 391646272..e68526493 100644 --- a/roles/kubernetes/master/tasks/post-upgrade.yml +++ b/roles/kubernetes/master/tasks/post-upgrade.yml @@ -4,4 +4,5 @@ environment: ETCDCTL_API: 2 delegate_to: "{{groups['etcd'][0]}}" + run_once: true when: kube_apiserver_storage_backend == "etcd3" and needs_etcd_migration|bool|default(false)