Browse Source

add option '--nat-outgoing' for calico on clouds

pull/126/head
Smaine Kahlouch 8 years ago
parent
commit
3bb6066558
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/network_plugin/tasks/calico.yml

2
roles/network_plugin/tasks/calico.yml

@ -27,7 +27,7 @@
run_once: true run_once: true
- name: Calico | Configure calico network pool for cloud - name: Calico | Configure calico network pool for cloud
command: "calicoctl pool add {{ kube_pods_subnet }} --ipip"
command: "calicoctl pool add {{ kube_pods_subnet }} --ipip --nat-outgoing"
run_once: true run_once: true
when: calico_conf.status == 404 and cloud_provider is defined and cloud_provider == True when: calico_conf.status == 404 and cloud_provider is defined and cloud_provider == True

Loading…
Cancel
Save