Skip to content

Commit 01ce1cb

Browse files
authored
OPNET-663: Add liveness probe to handler container (#1316)
Signed-off-by: Mat Kowalski <[email protected]>
1 parent 8c93f2d commit 01ce1cb

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

deploy/handler/operator.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,16 @@ spec:
424424
initialDelaySeconds: 5
425425
periodSeconds: 5
426426
timeoutSeconds: 1
427+
livenessProbe:
428+
exec:
429+
command:
430+
- nmstatectl
431+
- show
432+
initialDelaySeconds: 60
433+
periodSeconds: 60
434+
timeoutSeconds: 10
435+
successThreshold: 1
436+
failureThreshold: 5
427437
volumes:
428438
- name: dbus-socket
429439
hostPath:

0 commit comments

Comments
 (0)