Use controller-runtime health probe for liveness

Signed-off-by: Hidde Beydals <hello@hidde.co>
This commit is contained in:
Hidde Beydals 2021-02-01 14:48:37 +01:00
parent 3fd74bb938
commit c665907540
1 changed files with 4 additions and 2 deletions

View File

@ -30,6 +30,8 @@ spec:
name: http
- containerPort: 8080
name: http-prom
- containerPort: 9440
name: healthz
env:
- name: RUNTIME_NAMESPACE
valueFrom:
@ -44,8 +46,8 @@ spec:
- --storage-adv-addr=source-controller.$(RUNTIME_NAMESPACE).svc.cluster.local.
livenessProbe:
httpGet:
port: http
path: /
port: healthz
path: /healthz
readinessProbe:
httpGet:
port: http