diff --git a/k8s/backend-deployment-prod.yaml b/k8s/backend-deployment-prod.yaml index 4d9f80f..60b4d4b 100644 --- a/k8s/backend-deployment-prod.yaml +++ b/k8s/backend-deployment-prod.yaml @@ -41,24 +41,16 @@ spec: - name: CORS_ORIGINS value: "https://airlabs-manage-web.airlabs.art" livenessProbe: - httpGet: - path: /api/health/ + tcpSocket: port: 8000 - httpHeaders: - - name: Host - value: localhost initialDelaySeconds: 30 periodSeconds: 10 - timeoutSeconds: 5 + timeoutSeconds: 3 failureThreshold: 3 readinessProbe: - httpGet: - path: /api/health/ + tcpSocket: port: 8000 - httpHeaders: - - name: Host - value: localhost - initialDelaySeconds: 15 + initialDelaySeconds: 10 periodSeconds: 5 timeoutSeconds: 3 failureThreshold: 3