Skip to content

Commit 62cbcba

Browse files
committed
Added Liveness Probe and Readiness Probe
1 parent ec3ceeb commit 62cbcba

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

manifests/kubernetes/auth-service.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,20 @@ spec:
4242
image: manojmdocker14/microforge-auth-service:v1.1.0
4343
ports:
4444
- containerPort: 8082
45+
livenessProbe:
46+
httpGet:
47+
path: /api/auth/health
48+
port: 8082
49+
initialDelaySeconds: 45
50+
periodSeconds: 20
51+
timeoutSeconds: 10
52+
readinessProbe:
53+
httpGet:
54+
path: /api/auth/health
55+
port: 8082
56+
initialDelaySeconds: 15
57+
periodSeconds: 10
58+
timeoutSeconds: 5
4559
envFrom:
4660
- configMapRef:
4761
name: auth-service-config

0 commit comments

Comments
 (0)