gcloud-lab/infrastructure/gatewayapi/healthcheck.yaml
2026-05-11 02:55:46 +00:00

21 lines
481 B
YAML

apiVersion: networking.gke.io/v1
kind: HealthCheckPolicy
metadata:
name: hermes-health-check
namespace: customer1
spec:
default:
config:
type: HTTP
httpHealthCheck:
port: 9118
requestPath: /telegram/webhook/default # Or any path that returns 200
response: "403"
checkIntervalSec: 5
timeoutSec: 3
healthyThreshold: 1
unhealthyThreshold: 2
targetRef:
group: ""
kind: Service
name: http-tele-webhook