Browse Source

restarting kubelet is sometimes required after docker restart

pull/70/head
Smaine Kahlouch 8 years ago
parent
commit
7cab7e5fef
1 changed files with 6 additions and 0 deletions
  1. 6
      roles/network_plugin/handlers/main.yml

6
roles/network_plugin/handlers/main.yml

@ -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
Loading…
Cancel
Save