gcloud-lab/infrastructure/gatewayapi/healthcheck.yaml
2026-05-11 03:00:14 +00:00

17 lines
381 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"
targetRef:
group: ""
kind: Service
name: http-tele-webhook