Add api runtime config option, review kubernetes handlers

This commit is contained in:
Smaine Kahlouch
2015-11-27 12:32:31 +01:00
parent f74c195d47
commit 97c4edc028
7 changed files with 61 additions and 16 deletions

View File

@@ -2,18 +2,31 @@
- name: restart daemons
command: /bin/true
notify:
- restart kubelet
- restart proxy
- reload systemd
- restart reloaded-kubelet
- restart reloaded-proxy
- name: reload systemd
command: systemctl daemon-reload
- name: restart kubelet
command: /bin/true
notify:
- reload systemd
- restart reloaded-kubelet
- name: restart reloaded-kubelet
service:
name: kubelet
state: restarted
- name: restart proxy
command: /bin/true
notify:
- reload systemd
- restart reloaded-proxy
- name: restart reloaded-proxy
service:
name: kube-proxy
state: restarted
- name: reload systemd
command: systemctl daemon-reload