Skip to content

Commit c665907

Browse files
committed
Use controller-runtime health probe for liveness
Signed-off-by: Hidde Beydals <[email protected]>
1 parent 3fd74bb commit c665907

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

config/manager/deployment.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ spec:
3030
name: http
3131
- containerPort: 8080
3232
name: http-prom
33+
- containerPort: 9440
34+
name: healthz
3335
env:
3436
- name: RUNTIME_NAMESPACE
3537
valueFrom:
@@ -44,8 +46,8 @@ spec:
4446
- --storage-adv-addr=source-controller.$(RUNTIME_NAMESPACE).svc.cluster.local.
4547
livenessProbe:
4648
httpGet:
47-
port: http
48-
path: /
49+
port: healthz
50+
path: /healthz
4951
readinessProbe:
5052
httpGet:
5153
port: http

0 commit comments

Comments
 (0)