Handle calico-rr nodes as workers so they get upgraded too (#6447)
* Handle calico-rr nodes as workers so they get upgraded too * calico-rr nodes run 'calico and external cloud provider' toopull/6741/head
parent
5c448b6896
commit
50e8a52c74
|
@ -111,8 +111,8 @@
|
|||
- { role: upgrade/post-upgrade, tags: post-upgrade }
|
||||
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
|
||||
any_errors_fatal: "{{ any_errors_fatal | default(true) }}"
|
||||
serial: "{{ serial | default('20%') }}"
|
||||
|
@ -124,7 +124,7 @@
|
|||
- { role: kubernetes-apps/policy_controller, tags: policy-controller }
|
||||
|
||||
- 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
|
||||
any_errors_fatal: "{{ any_errors_fatal | default(true) }}"
|
||||
serial: "{{ serial | default('20%') }}"
|
||||
|
|
Loading…
Reference in New Issue