Hello, just wondering if anyone has tried configuring liveness and readiness probes for Kubernetes Deployment?
I noticed that when I run the following command from the LMS or CMS pods:
curl -I http://localhost:8000/heartbeat
I get a 400 status code error.
Here’s my initial configuration:
# Liveness Probe (check if the service is alive)
livenessProbe:
httpGet:
path: /heartbeat
port: 8000
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
# Readiness Probe (check if the service is ready to receive traffic)
readinessProbe:
httpGet:
path: /heartbeat
port: 8000
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
Any advise will be appreciated. Thanks!