We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d9a4cf commit cc0e06aCopy full SHA for cc0e06a
1 file changed
manifests/kubernetes/notification-service.yaml
@@ -45,6 +45,20 @@ spec:
45
image: manojmdocker14/microforge-notification-service:v1.1.0
46
ports:
47
- containerPort: 8083
48
+ livenessProbe:
49
+ httpGet:
50
+ path: /actuator/health
51
+ port: 8083
52
+ initialDelaySeconds: 45 # Increased for DB connection setup
53
+ periodSeconds: 20
54
+ timeoutSeconds: 10
55
+ readinessProbe:
56
57
58
59
+ initialDelaySeconds: 20
60
+ periodSeconds: 10
61
+ timeoutSeconds: 5
62
env:
63
- name: MYSQL_HOST
64
value: notification-mysql
0 commit comments