Allow KnativeService update to stay to same scale, eg: Initial-scale=previous #13270
Labels
area/autoscale
kind/feature
Well-understood/specified features, ready for coding.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
/area autoscale
Describe the feature
It would be nice to be able to update service without changing their current scale
Situation:
So we have a bunch of knative services ( > 1800 ). With all of them having scale to zero enabled. They all do have different different docker image but they do share code. It's common to update that shared code sometimes and update all those knative service.
allow-scale-to-zero: "true"
When updating the Services they all go back to their initial-scale instead of staying at their current scale. Meaning:
Even though autoscaler knows it needs more of
Service 1
and none ofService 2
.My feature request: have a way to tell the autoscaler to put the
initialScale
to something likeprevious
orcurrent
See slack thread about the history on this: https://knative.slack.com/archives/C0186KU7STW/p1662038186291709
The text was updated successfully, but these errors were encountered: