restart scheduler and controller-manager too

This commit is contained in:
Matthew Mosesohn
2017-03-24 18:29:28 +03:00
parent 57ee304260
commit a3f568fc64
6 changed files with 24 additions and 18 deletions

View File

@@ -54,6 +54,8 @@
command: "{{ bin_dir }}/kubectl create -f {{kube_config_dir}}/{{system_namespace}}-ns.yml"
retries: 4
delay: "{{ retry_stagger | random + 3 }}"
register: create_system_ns
until: create_system_ns.rc == 0
changed_when: False
when: kubesystem|failed and inventory_hostname == groups['kube-master'][0]
tags: apps