Allow customizing kubelet healthz port and bind addr (#5403)

Change-Id: I1634ba2d2d3337243ffcdea86750003a559f2576
pull/5405/head
Matthew Mosesohn 2019-12-03 22:56:58 +03:00 committed by Kubernetes Prow Robot
parent f599a4a859
commit 57fef8f75e
2 changed files with 8 additions and 0 deletions

View File

@ -84,6 +84,12 @@ kube_override_hostname: >-
# The read-only port for the Kubelet to serve on with no authentication/authorization.
kube_read_only_port: 0
# Port for healthz for Kubelet
kubelet_healthz_port: 10248
# Bind address for healthz for Kubelet
kubelet_healthz_bind_address: 127.0.0.1
# sysctl_file_path to add sysctl conf to
sysctl_file_path: "/etc/sysctl.d/99-sysctl.conf"

View File

@ -27,6 +27,8 @@ cgroupDriver: {{ kubelet_cgroup_driver|default(kubelet_cgroup_driver_detected) }
maxPods: {{ kubelet_max_pods }}
address: {{ kubelet_bind_address }}
readOnlyPort: {{ kube_read_only_port }}
healthzPort: {{ kubelet_healthz_port }}
healthzBindAddress: {{ kubelet_healthz_bind_address }}
kubeletCgroups: {{ kubelet_kubelet_cgroups }}
clusterDomain: {{ dns_domain }}
{% if kubelet_rotate_certificates|bool %}