change calico pool configuration order
This commit is contained in:
parent
b4b20c9dbc
commit
895a02e274
1 changed files with 4 additions and 4 deletions
|
@ -24,14 +24,14 @@
|
||||||
- name: Calico | Enable calico-node
|
- name: Calico | Enable calico-node
|
||||||
service: name=calico-node enabled=yes state=started
|
service: name=calico-node enabled=yes state=started
|
||||||
|
|
||||||
- name: Calico | Configure calico-node remove default pool
|
- name: Calico | Configure calico-node desired pool
|
||||||
shell: calicoctl pool remove 192.168.0.0/16
|
shell: calicoctl pool add {{ kube_pods_subnet }}
|
||||||
environment:
|
environment:
|
||||||
ETCD_AUTHORITY: "{{ groups['kube-master'][0] }}:4001"
|
ETCD_AUTHORITY: "{{ groups['kube-master'][0] }}:4001"
|
||||||
run_once: true
|
run_once: true
|
||||||
|
|
||||||
- name: Calico | Configure calico-node desired pool
|
- name: Calico | Configure calico-node remove default pool
|
||||||
shell: calicoctl pool add {{ kube_pods_subnet }}
|
shell: calicoctl pool remove 192.168.0.0/16
|
||||||
environment:
|
environment:
|
||||||
ETCD_AUTHORITY: "{{ groups['kube-master'][0] }}:4001"
|
ETCD_AUTHORITY: "{{ groups['kube-master'][0] }}:4001"
|
||||||
run_once: true
|
run_once: true
|
||||||
|
|
Loading…
Reference in a new issue