mirror of
https://github.com/traefik/traefik
synced 2026-02-03 12:20:33 +00:00
Add HealthCheck for KubernetesCRD ExternalName services
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user