knative-extensions / serving-progressive-rollout

Knative Serving extension to roll out the revision progressively
Apache License 2.0
6 stars 7 forks source link

Feature request: Resource effective mode support in the Progressive Rollout #160

Closed houshengbo closed 5 months ago

houshengbo commented 5 months ago

By resource effective mode, it means the process of the progressive rollout needs to take resource utilization as top 1 priority, even if it can sacrifice the availability. During the rollout in this mode, never increase the utilization of the resources(unless there is something we cannot control any more, like traffic-driven workloads).

houshengbo commented 5 months ago

We defined the two rollout modes for the new revision: 1. availability mode. This mode takes service availability as the top priority. It will scale up the pods for the new revision first and then scale down the pods for the old revision. 2. resourceutil mode. This mode takes the usage of the resource as priority. It makes sure that no more resource is consumed than what has been used now. It will scale down the pods for the old revision first and then scale up the pods for the new revision.