Skip to content

Commit

Permalink
explain panic mode
Browse files Browse the repository at this point in the history
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
  • Loading branch information
zhaohuabing committed Jan 2, 2025
1 parent f71fa99 commit a7868bc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions api/v1alpha1/healthcheck_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ import metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

// HealthCheck configuration to decide which endpoints
// are healthy and can be used for routing.
//
// Please note that Envoy load balancer may behave differently when lots of endpoints are unhealthy because of the "panic mode".
// When the percentage of unhealthy endpoints exceeds 50%, Envoy will disregard health status and balance across all endpoints.
// This is called "panic mode". It's designed to prevent a situation in which host failures cascade throughout the cluster
// as load increases.
type HealthCheck struct {
// Active health check configuration
// +optional
Expand Down

0 comments on commit a7868bc

Please sign in to comment.