Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make scale down to 0 even faster in some cases. #4938

Merged
merged 1 commit into from
Jul 26, 2019

Conversation

vagababov
Copy link
Contributor

For the single request activation it might happen that we end up
here earlier than stable period. In that case, e.g. with window of 60 seconds,
which is the default, we'd wait another whole minute.
This way we'll wait on the remaining time (usually under a second).

/assign @jonjohnsonjr

For #4453

For the single request activation it might happen that we end up
here earlier than stable period. In that case, e.g. with window of 60 seconds,
which is the default, we'd wait another whole minute.
This way we'll wait on the remaining time (usually under a second).
@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label Jul 25, 2019
@knative-prow-robot knative-prow-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jul 25, 2019
@knative-prow-robot knative-prow-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. area/API API objects and controllers area/autoscale labels Jul 25, 2019
@jonjohnsonjr
Copy link
Contributor

Cool

@jonjohnsonjr
Copy link
Contributor

/lgtm
/approve

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 25, 2019
@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jonjohnsonjr, vagababov

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

// Otherwise, scale down to 1 until the idle period elapses and re-enqueue
// the PA for reconciliation at that time.
ks.enqueueCB(pa, sw)
// Otherwise, scale down to at most 1 for the remainder of the idle period and then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

„At least 1“?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eh, since this is scale to 0, so "at most 1", as in no more than 1, but still not 0...
Perhaps just "scale to 1".

@chizhg
Copy link
Member

chizhg commented Jul 26, 2019

/retest

@vagababov
Copy link
Contributor Author

/test pull-knative-serving-integration-tests

@knative-prow-robot knative-prow-robot merged commit ac17830 into knative:master Jul 26, 2019
@vagababov vagababov deleted the 4453-even-better branch September 2, 2019 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/API API objects and controllers area/autoscale cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants