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"