Day 5: Fix worker probes and HTTPRoute gateway reference
- Changed worker deployment probes from HTTP to TCP (port 3005) * Worker liveness endpoint doesn't serve HTTP at '/' path * TCP socket check more appropriate for background worker * Resolves pod restart loop and readiness failures - Corrected HTTPRoute gateway reference * Changed from 'gateway' in 'default' namespace * To 'fastpass-gateway' in 'gateway' namespace * HTTPRoute now properly accepted by gateway All 7 deployments Running and Ready. System operational.
This commit is contained in:
@@ -45,16 +45,14 @@ spec:
|
||||
cpu: 1000m
|
||||
memory: 4Gi
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
tcpSocket:
|
||||
port: 3005
|
||||
initialDelaySeconds: 60
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 5
|
||||
failureThreshold: 3
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
tcpSocket:
|
||||
port: 3005
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 5
|
||||
|
||||
@@ -11,8 +11,8 @@ metadata:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
spec:
|
||||
parentRefs:
|
||||
- name: gateway
|
||||
namespace: default
|
||||
- name: fastpass-gateway
|
||||
namespace: gateway
|
||||
hostnames:
|
||||
- spaceship-earth.local.mk-labs.cloud
|
||||
- firecrawl.local.mk-labs.cloud
|
||||
|
||||
Reference in New Issue
Block a user