From 7cab7e5fefa0eb4bf7e6597da5136b3384032c29 Mon Sep 17 00:00:00 2001
From: Smaine Kahlouch <smaine.kahlouch@arkena.com>
Date: Tue, 19 Jan 2016 13:47:07 +0100
Subject: [PATCH] restarting kubelet is sometimes required after docker restart

---
 roles/network_plugin/handlers/main.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/roles/network_plugin/handlers/main.yml b/roles/network_plugin/handlers/main.yml
index a62817981..4a6e9e360 100644
--- a/roles/network_plugin/handlers/main.yml
+++ b/roles/network_plugin/handlers/main.yml
@@ -10,6 +10,7 @@
   notify:
     - reload systemd
     - restart docker
+    - restart kubelet
 
 - name: delete default docker bridge
   command: ip link delete docker0
@@ -28,3 +29,8 @@
   service:
     name: docker
     state: restarted
+
+- name: restart kubelet
+  service:
+    name: kubelet
+    state: restarted
-- 
GitLab