nodelocaldns: allow to set health port, switch to 9254 by default (#4902)

8080 is a pretty common port, using nodelocaldns_ip:8080 still
prevents node processes or hostNetwork=true processes to bind to *:8080
so switch to 9254 by default (prometheus port is 9253)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
This commit is contained in:
champtar
2019-07-09 00:52:01 -07:00
committed by Kubernetes Prow Robot
parent 324bc41097
commit a67a50f9c0
4 changed files with 5 additions and 3 deletions

View File

@@ -134,6 +134,7 @@ dns_mode: coredns
# Enable nodelocal dns cache
enable_nodelocaldns: true
nodelocaldns_ip: 169.254.25.10
nodelocaldns_health_port: 9254
# Can be docker_dns, host_resolvconf or none
resolvconf_mode: docker_dns