|
@ -111,8 +111,8 @@ |
|
|
- { role: upgrade/post-upgrade, tags: post-upgrade } |
|
|
- { role: upgrade/post-upgrade, tags: post-upgrade } |
|
|
environment: "{{ proxy_env }}" |
|
|
environment: "{{ proxy_env }}" |
|
|
|
|
|
|
|
|
- name: Upgrade calico and external cloud provider on all masters and nodes |
|
|
|
|
|
hosts: kube-master:kube-node |
|
|
|
|
|
|
|
|
- name: Upgrade calico and external cloud provider on all masters, calico-rrs, and nodes |
|
|
|
|
|
hosts: kube-master:calico-rr:kube-node |
|
|
gather_facts: False |
|
|
gather_facts: False |
|
|
any_errors_fatal: "{{ any_errors_fatal | default(true) }}" |
|
|
any_errors_fatal: "{{ any_errors_fatal | default(true) }}" |
|
|
serial: "{{ serial | default('20%') }}" |
|
|
serial: "{{ serial | default('20%') }}" |
|
@ -124,7 +124,7 @@ |
|
|
- { role: kubernetes-apps/policy_controller, tags: policy-controller } |
|
|
- { role: kubernetes-apps/policy_controller, tags: policy-controller } |
|
|
|
|
|
|
|
|
- name: Finally handle worker upgrades, based on given batch size |
|
|
- name: Finally handle worker upgrades, based on given batch size |
|
|
hosts: kube-node:!kube-master |
|
|
|
|
|
|
|
|
hosts: kube-node:calico-rr:!kube-master |
|
|
gather_facts: False |
|
|
gather_facts: False |
|
|
any_errors_fatal: "{{ any_errors_fatal | default(true) }}" |
|
|
any_errors_fatal: "{{ any_errors_fatal | default(true) }}" |
|
|
serial: "{{ serial | default('20%') }}" |
|
|
serial: "{{ serial | default('20%') }}" |
|
|