From 57ee3042603bdc92737496dd51672c9f79a49819 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)