mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-24 09:07:47 -02: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
@@ -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