Slowdown apimaster restart

This commit is contained in:
Antoine Legrand
2016-01-26 11:58:14 +01:00
parent 8676f8761f
commit 4566d60e6f
3 changed files with 26 additions and 19 deletions

View File

@@ -76,11 +76,9 @@
- meta: flush_handlers
- name: Enable apiserver
service:
name: kube-apiserver
enabled: yes
state: started
- include: start.yml
with_items: groups['kube-master']
when: "{{ hostvars[item].inventory_hostname == inventory_hostname }}"
# Create kube-system namespace
- name: copy 'kube-system' namespace manifest