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' too
This commit is contained in:
parent
5c448b6896
commit
50e8a52c74
1 changed files with 3 additions and 3 deletions
|
@ -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 a new issue