Skip to content

Commit

Permalink
change calico pool configuration order
Browse files Browse the repository at this point in the history
  • Loading branch information
Smaine Kahlouch committed Nov 22, 2015
1 parent b4b20c9 commit 895a02e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions roles/network_plugin/tasks/calico.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@
- name: Calico | Enable calico-node
service: name=calico-node enabled=yes state=started

- name: Calico | Configure calico-node remove default pool
shell: calicoctl pool remove 192.168.0.0/16
- name: Calico | Configure calico-node desired pool
shell: calicoctl pool add {{ kube_pods_subnet }}
environment:
ETCD_AUTHORITY: "{{ groups['kube-master'][0] }}:4001"
run_once: true

- name: Calico | Configure calico-node desired pool
shell: calicoctl pool add {{ kube_pods_subnet }}
- name: Calico | Configure calico-node remove default pool
shell: calicoctl pool remove 192.168.0.0/16
environment:
ETCD_AUTHORITY: "{{ groups['kube-master'][0] }}:4001"
run_once: true
Expand Down

0 comments on commit 895a02e

Please sign in to comment.