diff --git a/roles/network_plugin/kube-router/templates/cni-conf.json.j2 b/roles/network_plugin/kube-router/templates/cni-conf.json.j2 index c5327c1d01d7e8f16b43723593b320e8d1d6e02f..91fafacc4fc57b6ef66a8607159611f71c661d53 100644 --- a/roles/network_plugin/kube-router/templates/cni-conf.json.j2 +++ b/roles/network_plugin/kube-router/templates/cni-conf.json.j2 @@ -16,6 +16,12 @@ {% endif %} "type":"host-local" } + }, + { + "type":"portmap", + "capabilities":{ + "portMappings":true + } } ] }