Skip to content

Commit 932327f

Browse files
authored
Update middleware.yaml
1 parent a171e37 commit 932327f

File tree

1 file changed

+1
-28
lines changed

1 file changed

+1
-28
lines changed

manifest/middleware.yaml

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -27,34 +27,7 @@ spec:
2727
envFrom:
2828
- configMapRef:
2929
name: middleware-service-config
30-
# Liveness probe - checks if container is alive
31-
livenessProbe:
32-
httpGet:
33-
path: /health/live
34-
port: 4000
35-
initialDelaySeconds: 30 # Wait 30s after container starts
36-
periodSeconds: 10 # Check every 10s
37-
timeoutSeconds: 5 # 5s timeout
38-
failureThreshold: 3 # Restart after 3 failures
39-
# Readiness probe - checks if service is ready (DB connected)
40-
readinessProbe:
41-
httpGet:
42-
path: /health/ready
43-
port: 4000
44-
initialDelaySeconds: 10 # Wait 10s after container starts
45-
periodSeconds: 5 # Check every 5s
46-
timeoutSeconds: 5 # 5s timeout
47-
failureThreshold: 3 # Mark not ready after 3 failures
48-
# Startup probe - gives more time for initial startup
49-
startupProbe:
50-
httpGet:
51-
path: /health/ready
52-
port: 4000
53-
initialDelaySeconds: 0 # Start immediately
54-
periodSeconds: 5 # Check every 5s
55-
timeoutSeconds: 5 # 5s timeout
56-
failureThreshold: 12 # Allow up to 60s for startup (12 * 5s)
57-
resources:
30+
resources:
5831
requests:
5932
cpu: "1000m"
6033
memory: "1500Mi"

0 commit comments

Comments
 (0)