restarting kubelet is sometimes required after docker restart
This commit is contained in:
parent
4c5735cef8
commit
7cab7e5fef
1 changed files with 6 additions and 0 deletions
|
@ -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…
Reference in a new issue