restarting kubelet is sometimes required after docker restart

This commit is contained in:
Smaine Kahlouch 2016-01-19 13:47:07 +01:00
parent 4c5735cef8
commit 7cab7e5fef

View file

@ -10,6 +10,7 @@
notify: notify:
- reload systemd - reload systemd
- restart docker - restart docker
- restart kubelet
- name: delete default docker bridge - name: delete default docker bridge
command: ip link delete docker0 command: ip link delete docker0
@ -28,3 +29,8 @@
service: service:
name: docker name: docker
state: restarted state: restarted
- name: restart kubelet
service:
name: kubelet
state: restarted