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

26 lines
443 B
YAML
Raw Normal View History

2015-10-04 04:19:50 +08:00
---
- name: reload systemd
command: systemctl daemon-reload
- 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
2015-10-04 04:19:50 +08:00
state: restarted
- name: restart proxy
command: /bin/true
notify:
- reload systemd
- restart reloaded-proxy
- name: restart reloaded-proxy
2015-10-04 04:19:50 +08:00
service:
name: kube-proxy
state: restarted