From 927a95fb65761f764a517ee7428b557ad538efc1 Mon Sep 17 00:00:00 2001 From: Matthew Mosesohn Date: Tue, 4 Apr 2017 20:43:47 +0300 Subject: [PATCH] Restart kubelet when updating /etc/resolv.conf on all k8s nodes --- roles/kubernetes/preinstall/handlers/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/kubernetes/preinstall/handlers/main.yml b/roles/kubernetes/preinstall/handlers/main.yml index f0c316f7e..b394aab76 100644 --- a/roles/kubernetes/preinstall/handlers/main.yml +++ b/roles/kubernetes/preinstall/handlers/main.yml @@ -41,7 +41,7 @@ - Preinstall | stop controller - Preinstall | pause for controller - Preinstall | restart controller - when: inventory_hostname in groups['kube-master'] and not dns_early|bool + when: not dns_early|bool - name: Preinstall | kube-controller configured stat: path="{{ kube_manifest_dir }}/kube-controller-manager.manifest"