gcloud-lab/apps/base/customer1/n8n/healthcheck.yaml

17 lines
405 B
YAML
Raw Normal View History

apiVersion: networking.gke.io/v1
kind: HealthCheckPolicy
metadata:
name: n8n-healthcheck
2026-01-06 03:30:41 +00:00
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