kubespray/roles/kubernetes/node/handlers/main.yml

21 lines
362 B
YAML
Raw Normal View History

2015-10-04 04:19:50 +08:00
---
- name: restart daemons
command: /bin/true
notify:
- reload systemd
- restart reloaded-kubelet
- name: reload systemd
command: systemctl daemon-reload
2015-10-04 04:19:50 +08:00
- name: restart kubelet
command: /bin/true
notify:
- reload systemd
- restart reloaded-kubelet
- name: restart reloaded-kubelet
2015-10-04 04:19:50 +08:00
service:
name: kubelet
state: restarted