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 c5327c1d0..91fafacc4 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 + } } ] }