Skip to content

Commit

Permalink
Add ScaleDownLimit as health state for HPA
Browse files Browse the repository at this point in the history
  • Loading branch information
harikrongali authored Oct 28, 2021
1 parent 27374da commit 008b6e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/health/health_hpa.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ func isHealthy(condition *hpaCondition) bool {
{Type: "ScalingLimited", Reason: "DesiredWithinRange"},
{Type: "ScalingLimited", Reason: "TooFewReplicas"},
{Type: "ScalingLimited", Reason: "TooManyReplicas"},
{Type: "ScalingLimited", Reason: "ScaleDownLimit"},
{Type: "ScalingActive", Reason: "ScalingDisabled"},
}
for _, healthy_state := range healthy_states {
Expand Down

0 comments on commit 008b6e4

Please sign in to comment.