Merge pull request #131587 from neolit123/1.34-use-named-port-for-coredns-probes

kubeadm: use named ports for coredns probes
This commit is contained in:
Kubernetes Prow Robot
2025-05-02 11:38:02 -07:00
committed by GitHub
2 changed files with 24 additions and 6 deletions

View File

@@ -733,10 +733,16 @@ spec:
- containerPort: 9153
name: metrics
protocol: TCP
- containerPort: 8080
name: liveness-probe
protocol: TCP
- containerPort: 8181
name: readiness-probe
protocol: TCP
livenessProbe:
httpGet:
path: /health
port: 8080
port: liveness-probe
scheme: HTTP
initialDelaySeconds: 60
timeoutSeconds: 5
@@ -745,7 +751,7 @@ spec:
readinessProbe:
httpGet:
path: /ready
port: 8181
port: readiness-probe
scheme: HTTP
securityContext:
allowPrivilegeEscalation: false
@@ -1017,10 +1023,16 @@ spec:
- containerPort: 9153
name: metrics
protocol: TCP
- containerPort: 8080
name: liveness-probe
protocol: TCP
- containerPort: 8181
name: readiness-probe
protocol: TCP
livenessProbe:
httpGet:
path: /health
port: 8080
port: liveness-probe
scheme: HTTP
initialDelaySeconds: 60
timeoutSeconds: 5
@@ -1029,7 +1041,7 @@ spec:
readinessProbe:
httpGet:
path: /ready
port: 8181
port: readiness-probe
scheme: HTTP
securityContext:
allowPrivilegeEscalation: false

View File

@@ -121,10 +121,16 @@ spec:
- containerPort: 9153
name: metrics
protocol: TCP
- containerPort: 8080
name: liveness-probe
protocol: TCP
- containerPort: 8181
name: readiness-probe
protocol: TCP
livenessProbe:
httpGet:
path: /health
port: 8080
port: liveness-probe
scheme: HTTP
initialDelaySeconds: 60
timeoutSeconds: 5
@@ -133,7 +139,7 @@ spec:
readinessProbe:
httpGet:
path: /ready
port: 8181
port: readiness-probe
scheme: HTTP
securityContext:
allowPrivilegeEscalation: false