diff --git a/k8s/apps/n8n/values-n8n.yaml b/k8s/apps/n8n/values-n8n.yaml index 6566f52..559381c 100644 --- a/k8s/apps/n8n/values-n8n.yaml +++ b/k8s/apps/n8n/values-n8n.yaml @@ -22,14 +22,25 @@ podSecurityContext: runAsGroup: 1000 runAsNonRoot: true -# Disable all health probes to avoid startup issues +# Configure health probes for slow startup main: livenessProbe: - enabled: false + httpGet: + path: /healthz + port: http + initialDelaySeconds: 120 # Дать время на запуск + periodSeconds: 30 + timeoutSeconds: 10 + failureThreshold: 6 + readinessProbe: - enabled: false - startupProbe: - enabled: false + httpGet: + path: /healthz/readiness + port: http + initialDelaySeconds: 60 + periodSeconds: 10 + timeoutSeconds: 5 + failureThreshold: 10 worker: