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
|
cpu: 1000m
|
||||||
memory: 4Gi
|
memory: 4Gi
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
tcpSocket:
|
||||||
path: /
|
|
||||||
port: 3005
|
port: 3005
|
||||||
initialDelaySeconds: 60
|
initialDelaySeconds: 60
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
timeoutSeconds: 5
|
timeoutSeconds: 5
|
||||||
failureThreshold: 3
|
failureThreshold: 3
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
tcpSocket:
|
||||||
path: /
|
|
||||||
port: 3005
|
port: 3005
|
||||||
initialDelaySeconds: 30
|
initialDelaySeconds: 30
|
||||||
periodSeconds: 5
|
periodSeconds: 5
|
||||||
|
|||||||
@@ -11,8 +11,8 @@ metadata:
|
|||||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
spec:
|
spec:
|
||||||
parentRefs:
|
parentRefs:
|
||||||
- name: gateway
|
- name: fastpass-gateway
|
||||||
namespace: default
|
namespace: gateway
|
||||||
hostnames:
|
hostnames:
|
||||||
- spaceship-earth.local.mk-labs.cloud
|
- spaceship-earth.local.mk-labs.cloud
|
||||||
- firecrawl.local.mk-labs.cloud
|
- firecrawl.local.mk-labs.cloud
|
||||||
|
|||||||
Reference in New Issue
Block a user