feat: add health check endpoint and suppress health check logs
Added a /health endpoint for application health monitoring Implemented logging filter to suppress health check requests from logs Updated Dockerfile and Kubernetes deployment to use the new health check endpoint Incremented production image tag version
This commit is contained in:
@@ -46,7 +46,7 @@ spec:
|
||||
# Liveness probe
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
path: /health
|
||||
port: 8000
|
||||
initialDelaySeconds: 90
|
||||
periodSeconds: 10
|
||||
@@ -55,7 +55,7 @@ spec:
|
||||
# Readiness probe
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
path: /health
|
||||
port: 8000
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 10
|
||||
|
||||
Reference in New Issue
Block a user