Skip to content

Autoscaler with minScale specified momentarily scaled below minScale #6733

@vagababov

Description

@vagababov

In what area(s)?

/area autoscale

Expected Behavior

When minScale is specified for routable revisions KPA never scaled to below minScale.

Actual Behavior

When a revision is just created with minScale (e.g. 5) there's a small gap between revision becoming ready and route shift, which means that a ready revision is not routable for short period of time. But it is enough for AS to scale down.

Steps to Reproduce the Problem

  1. Create RunLatest minScale=5
  2. Create another revision with same minScale
  3. Observe (mostly via logs, but sometimes visible via kubectl) that we scale down to 0-2 (depending on traffic) and then back up to 5.

/cc @mattmoor @markusthoemmes @tanzeeb

Metadata

Metadata

Assignees

Labels

area/autoscalekind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions