diff --git a/roles/network_plugin/tasks/calico.yml b/roles/network_plugin/tasks/calico.yml index 3c512501aca892c456fc56b3e084580905a75187..6e269c5ebee9e167ca614c5478074916a1d50656 100644 --- a/roles/network_plugin/tasks/calico.yml +++ b/roles/network_plugin/tasks/calico.yml @@ -27,7 +27,7 @@ run_once: true - 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 when: calico_conf.status == 404 and cloud_provider is defined and cloud_provider == True