From 9ed9365db1c806fbaea2b37710f18ae8452d3215 Mon Sep 17 00:00:00 2001 From: nhaveric Date: Fri, 7 Apr 2017 16:57:05 +0200 Subject: [PATCH] kubelet: added --node-ip option --- roles/kubernetes/node/templates/kubelet.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/kubernetes/node/templates/kubelet.j2 b/roles/kubernetes/node/templates/kubelet.j2 index 8de1e63e9..43d33f655 100644 --- a/roles/kubernetes/node/templates/kubelet.j2 +++ b/roles/kubernetes/node/templates/kubelet.j2 @@ -2,7 +2,7 @@ KUBE_LOGGING="--logtostderr=true" KUBE_LOG_LEVEL="--v={{ kube_log_level }}" # The address for the info server to serve on (set to 0.0.0.0 or "" for all interfaces) -KUBELET_ADDRESS="--address={{ ip | default("0.0.0.0") }}" +KUBELET_ADDRESS="--address={{ ip | default("0.0.0.0") }} --node-ip={{ ip | default(ansible_default_ipv4.address) }}" # The port for the info server to serve on # KUBELET_PORT="--port=10250" # You may leave this blank to use the actual hostname