Skip to content

Conversation

@andriyvasylyna
Copy link
Contributor

Changing logic of allowedToScaleDown. There is no reason for specifying all possible conditions in the functions, hence scaling would be allowed only when condition.Type == "AbleToScale" && condition.Status == v1.ConditionTrue && condition.Reason == "ReadyForNewScale", all other combinations for AbleToScale condition would be logged and scaling down will be forbidden. In case of the absence of AbleToScale condition error will be returned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants