Use controller-runtime health probe for liveness
Signed-off-by: Hidde Beydals <hello@hidde.co>
This commit is contained in:
parent
3fd74bb938
commit
c665907540
|
@ -30,6 +30,8 @@ spec:
|
||||||
name: http
|
name: http
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
name: http-prom
|
name: http-prom
|
||||||
|
- containerPort: 9440
|
||||||
|
name: healthz
|
||||||
env:
|
env:
|
||||||
- name: RUNTIME_NAMESPACE
|
- name: RUNTIME_NAMESPACE
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
@ -44,8 +46,8 @@ spec:
|
||||||
- --storage-adv-addr=source-controller.$(RUNTIME_NAMESPACE).svc.cluster.local.
|
- --storage-adv-addr=source-controller.$(RUNTIME_NAMESPACE).svc.cluster.local.
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
port: http
|
port: healthz
|
||||||
path: /
|
path: /healthz
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
port: http
|
port: http
|
||||||
|
|
Loading…
Reference in New Issue