Align healthz ports and checks across containers

Signed-off-by: Marco Franssen <[email protected]>
This commit is contained in:
Marco Franssen
2023-02-24 21:06:09 +01:00
parent 156052ada0
commit 495d9d67e8
6 changed files with 22 additions and 10 deletions
@@ -43,10 +43,12 @@ spec:
- name: grpc
containerPort: 8081
protocol: TCP
- containerPort: 8080
name: healthz
livenessProbe:
httpGet:
path: /live
port: 8080
port: healthz
failureThreshold: 2
initialDelaySeconds: 15
periodSeconds: 60
@@ -54,7 +56,7 @@ spec:
readinessProbe:
httpGet:
path: /ready
port: 8080
port: healthz
initialDelaySeconds: 5
periodSeconds: 5
resources:
@@ -88,15 +90,17 @@ spec:
- name: https
containerPort: 9443
protocol: TCP
- containerPort: 8008
name: healthz
# TODO: implement probes
# livenessProbe:
# httpGet:
# path: /
# port: https
# port: healthz
# readinessProbe:
# httpGet:
# path: /
# port: https
# port: healthz
resources:
{{- toYaml .Values.controllerManager.resources | nindent 12 }}
volumeMounts: