Feat: add liveness probe
This commit is contained in:
@@ -28,3 +28,9 @@ spec:
|
||||
value: '0.0.0.0'
|
||||
- name: MONGO_CONNECTION_STRING
|
||||
value: 'mongodb://cnd2025-mongo.cnd2025.svc.cluster.local:27017/todo'
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /ping
|
||||
port: 8888
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 5
|
||||
|
||||
Reference in New Issue
Block a user