Skip to content

Commit 102d862

Browse files
committed
liveness probe added for the controller
1 parent bbf33b7 commit 102d862

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

deploy/kubernetes/base/controller.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,14 @@ spec:
7272
- name: healthz
7373
containerPort: 8082
7474
protocol: TCP
75+
livenessProbe:
76+
failureThreshold: 5
77+
httpGet:
78+
path: /healthz
79+
port: healthz
80+
initialDelaySeconds: 5
81+
timeoutSeconds: 10
82+
periodSeconds: 30
7583
env:
7684
- name: IBMCLOUD_API_KEY
7785
valueFrom:

0 commit comments

Comments
 (0)