kubelet: added --node-ip option

This commit is contained in:
nhaveric 2017-04-07 16:57:05 +02:00
parent dcf0360d8f
commit 9ed9365db1

View file

@ -2,7 +2,7 @@
KUBE_LOGGING="--logtostderr=true" KUBE_LOGGING="--logtostderr=true"
KUBE_LOG_LEVEL="--v={{ kube_log_level }}" 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) # 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 # The port for the info server to serve on
# KUBELET_PORT="--port=10250" # KUBELET_PORT="--port=10250"
# You may leave this blank to use the actual hostname # You may leave this blank to use the actual hostname