gcloud-lab/apps/base/customer1/n8n/healthcheck.yaml
2026-04-28 03:31:52 +00:00

16 lines
405 B
YAML

apiVersion: networking.gke.io/v1
kind: HealthCheckPolicy
metadata:
name: n8n-healthcheck
namespace: customer1
spec:
default:
config:
type: HTTP
httpHealthCheck:
port: 5678 # The port n8n is listening on
requestPath: /healthz # Ensure this returns a 200 OK
targetRef:
group: ""
kind: Service
name: n8n-service # Must match your n8n Service name