Feat: add liveness probe
This commit is contained in:
@@ -21,3 +21,11 @@ spec:
|
||||
ports:
|
||||
- name: mongo
|
||||
containerPort: 27017
|
||||
livenessProbe:
|
||||
exec:
|
||||
command:
|
||||
- mongosh
|
||||
- --eval
|
||||
- version()
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 5
|
||||
|
||||
Reference in New Issue
Block a user