diff --git a/roles/kubernetes/node/templates/nginx.conf.j2 b/roles/kubernetes/node/templates/nginx.conf.j2 index 8e2d6ebc6..352218da4 100644 --- a/roles/kubernetes/node/templates/nginx.conf.j2 +++ b/roles/kubernetes/node/templates/nginx.conf.j2 @@ -16,7 +16,7 @@ stream { } server { - listen {{ kube_apiserver_port }}; + listen 127.0.0.1:{{ kube_apiserver_port }}; proxy_pass kube_apiserver; proxy_timeout 10m; proxy_connect_timeout 1s;