From 4f77f9110209d13542ee4c559279fb2e8c7b5617 Mon Sep 17 00:00:00 2001 From: kappa Date: Thu, 19 Mar 2026 16:24:57 +0900 Subject: [PATCH] Add liveness/readiness probes to n8n and nocodb Co-Authored-By: Claude Opus 4.6 (1M context) --- n8n/deployment.yaml | 16 ++++++++++++++++ nocodb/deployment.yaml | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/n8n/deployment.yaml b/n8n/deployment.yaml index 42d8f6b..f20f508 100644 --- a/n8n/deployment.yaml +++ b/n8n/deployment.yaml @@ -48,6 +48,22 @@ spec: value: Asia/Seoul - name: N8N_PROXY_HOPS value: "3" + livenessProbe: + httpGet: + path: /healthz + port: 5678 + initialDelaySeconds: 30 + periodSeconds: 30 + timeoutSeconds: 5 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /healthz + port: 5678 + initialDelaySeconds: 10 + periodSeconds: 10 + timeoutSeconds: 5 + failureThreshold: 3 volumeMounts: - name: data mountPath: /home/node/.n8n diff --git a/nocodb/deployment.yaml b/nocodb/deployment.yaml index 37a2fa9..97576dd 100644 --- a/nocodb/deployment.yaml +++ b/nocodb/deployment.yaml @@ -24,6 +24,22 @@ spec: ports: - containerPort: 8080 protocol: TCP + livenessProbe: + httpGet: + path: /api/v1/health + port: 8080 + initialDelaySeconds: 30 + periodSeconds: 30 + timeoutSeconds: 5 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /api/v1/health + port: 8080 + initialDelaySeconds: 10 + periodSeconds: 10 + timeoutSeconds: 5 + failureThreshold: 3 resources: limits: cpu: "1"