keda icon indicating copy to clipboard operation
keda copied to clipboard

Introducing Scaling by Step in Advanced Settings

Open SpiritZhou opened this issue 1 year ago • 0 comments

Proposal

Although there is a scaling modifier that can implement the scaling by step feature, it is still not very convenient for users. It would be more user-friendly to have a direct setting in the ScaledObject. Therefore, we propose introducing a new setting called "scalingSteps" in the advanced settings.

advanced:
  scalingSteps:
     stepReplicaCount: 3
     nextStepInterval: 2
status:
  nextStepCountdown: 5

"stepReplicaCount" would represent the maximum replica count for each scaling step, and "nextStepInterval" would specify the number of “pollintervals” that must pass before scaling to the next step. The maxReplicaCount would be updated according to the increasing step value, and the nextStepCountdown status would also be introduced to calculate the number of steps.

Use-Case

No response

Is this a feature you are interested in implementing yourself?

Yes

Anything else?

No response

SpiritZhou avatar Oct 17 '24 06:10 SpiritZhou