Add HealthCheck for KubernetesCRD ExternalName services

This commit is contained in:
Marc Mognol
2024-05-30 17:18:05 +02:00
committed by GitHub
parent c0a2e6b4b6
commit 7fc56454ea
13 changed files with 885 additions and 22 deletions
@@ -131,6 +131,8 @@ type LoadBalancerSpec struct {
// It allows services to be reachable when Traefik runs externally from the Kubernetes cluster but within the same network of the nodes.
// By default, NodePortLB is false.
NodePortLB bool `json:"nodePortLB,omitempty"`
// Healthcheck defines health checks for the service.
HealthCheck *dynamic.ServerHealthCheck `json:"healthCheck,omitempty"`
}
type ResponseForwarding struct {