autoscaler: enforce bounds when scaling hint is NONE#516
autoscaler: enforce bounds when scaling hint is NONE#516otrosien merged 2 commits intozalando-incubator:masterfrom
Conversation
Signed-off-by: Andreas Drobisch <dro@unkonstant.de>
hooseins
left a comment
There was a problem hiding this comment.
The change look good.
For context, we observed that the EDS is not immediately scaling out after patching it with min replica > current replicas. But with any next scaling hint of either "UP" or "DOWN", it correctly scales to the new min replicas. This indicates that somewhere we were not executing the scaling operation when the "replica" field is missing (which is after the patch) and the scaling hint is "NONE".
Code owners to review further.
Signed-off-by: Andreas Drobisch <dro@unkonstant.de>
|
@adrobisch this should finally fix the scaling-to-zero issue, and generally LGTM. But, the more I think about it, the more I believe that there's a general design flaw in making Can you prepare a changeset with going for |
@otrosien I drafted https://github.com/zalando-incubator/es-operator/compare/master...adrobisch:es-operator:eds-replicas-pointer?expand=1 where I made it a pointer, but did not push it down to |
|
We decided to merge this first, and follow-up on an improvement. |
|
👍 |
1 similar comment
|
👍 |
One-line summary
Follow up to c53f570 which moved the responsibility to enforce bounds to the
autoscaler.Description
This fixes the scenario when
ScalingHintisNONEand no other scaling decision is triggered either. In that case we still want to enforce the replica bounds.Types of Changes