mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-25 06:56:07 -03:30
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:
committed by
Kubernetes Prow Robot
parent
324bc41097
commit
a67a50f9c0
@@ -21,7 +21,7 @@ data:
|
||||
force_tcp
|
||||
}
|
||||
prometheus :9253
|
||||
health {{ nodelocaldns_ip }}:8080
|
||||
health {{ nodelocaldns_ip }}:{{ nodelocaldns_health_port }}
|
||||
}
|
||||
in-addr.arpa:53 {
|
||||
errors
|
||||
|
||||
@@ -58,7 +58,7 @@ spec:
|
||||
httpGet:
|
||||
host: {{ nodelocaldns_ip }}
|
||||
path: /health
|
||||
port: 8080
|
||||
port: {{ nodelocaldns_health_port }}
|
||||
scheme: HTTP
|
||||
timeoutSeconds: 5
|
||||
successThreshold: 1
|
||||
@@ -67,7 +67,7 @@ spec:
|
||||
httpGet:
|
||||
host: {{ nodelocaldns_ip }}
|
||||
path: /health
|
||||
port: 8080
|
||||
port: {{ nodelocaldns_health_port }}
|
||||
scheme: HTTP
|
||||
timeoutSeconds: 5
|
||||
successThreshold: 1
|
||||
|
||||
Reference in New Issue
Block a user