Allow customizing kubelet healthz port and bind addr (#5403)
Change-Id: I1634ba2d2d3337243ffcdea86750003a559f2576
This commit is contained in:
parent
f599a4a859
commit
57fef8f75e
2 changed files with 8 additions and 0 deletions
|
@ -84,6 +84,12 @@ kube_override_hostname: >-
|
||||||
# The read-only port for the Kubelet to serve on with no authentication/authorization.
|
# The read-only port for the Kubelet to serve on with no authentication/authorization.
|
||||||
kube_read_only_port: 0
|
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 to add sysctl conf to
|
||||||
sysctl_file_path: "/etc/sysctl.d/99-sysctl.conf"
|
sysctl_file_path: "/etc/sysctl.d/99-sysctl.conf"
|
||||||
|
|
||||||
|
|
|
@ -27,6 +27,8 @@ cgroupDriver: {{ kubelet_cgroup_driver|default(kubelet_cgroup_driver_detected) }
|
||||||
maxPods: {{ kubelet_max_pods }}
|
maxPods: {{ kubelet_max_pods }}
|
||||||
address: {{ kubelet_bind_address }}
|
address: {{ kubelet_bind_address }}
|
||||||
readOnlyPort: {{ kube_read_only_port }}
|
readOnlyPort: {{ kube_read_only_port }}
|
||||||
|
healthzPort: {{ kubelet_healthz_port }}
|
||||||
|
healthzBindAddress: {{ kubelet_healthz_bind_address }}
|
||||||
kubeletCgroups: {{ kubelet_kubelet_cgroups }}
|
kubeletCgroups: {{ kubelet_kubelet_cgroups }}
|
||||||
clusterDomain: {{ dns_domain }}
|
clusterDomain: {{ dns_domain }}
|
||||||
{% if kubelet_rotate_certificates|bool %}
|
{% if kubelet_rotate_certificates|bool %}
|
||||||
|
|
Loading…
Reference in a new issue