From db7e1a00b136f6745e523463d139f72ab50a90af Mon Sep 17 00:00:00 2001 From: sirius0xdev Date: Mon, 11 May 2026 03:41:05 +0000 Subject: [PATCH] change health check --- infrastructure/gatewayapi/healthcheck.yaml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/infrastructure/gatewayapi/healthcheck.yaml b/infrastructure/gatewayapi/healthcheck.yaml index 6930239..d7556f0 100644 --- a/infrastructure/gatewayapi/healthcheck.yaml +++ b/infrastructure/gatewayapi/healthcheck.yaml @@ -6,12 +6,8 @@ metadata: spec: default: config: - type: HTTP - httpHealthCheck: + type: TCP # Switched from HTTP to TCP + tcpHealthCheck: port: 9118 - requestPath: /telegram/webhook/default # Or any path that returns 200 - response: "403" - targetRef: - group: "" - kind: Service - name: http-tele-webhook + checkIntervalSec: 5 + timeoutSec: 3