From be3f2ffe5c415c85dd888c4cc685fb9de99f1a08 Mon Sep 17 00:00:00 2001 From: Timmy Date: Wed, 1 Apr 2026 17:57:07 +0800 Subject: [PATCH] fix: use TCP probe for CodiMD health check (/healthz not available) --- apps/codimd/manifests/05-codimd-app-deployment.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/apps/codimd/manifests/05-codimd-app-deployment.yaml b/apps/codimd/manifests/05-codimd-app-deployment.yaml index f2a6431..36f886e 100644 --- a/apps/codimd/manifests/05-codimd-app-deployment.yaml +++ b/apps/codimd/manifests/05-codimd-app-deployment.yaml @@ -38,18 +38,16 @@ spec: value: "true" - name: CMD_CSP_ENABLE value: "false" - # Health check (CodiMD has /healthz endpoint) + # Health check (use TCP since /healthz returns 404) livenessProbe: - httpGet: - path: /healthz + tcpSocket: port: 3000 initialDelaySeconds: 30 periodSeconds: 10 timeoutSeconds: 5 failureThreshold: 3 readinessProbe: - httpGet: - path: /healthz + tcpSocket: port: 3000 initialDelaySeconds: 5 periodSeconds: 10