-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add config knob MaxScale for setting default "autoscaling.knative.dev/maxScale" #8951
Add config knob MaxScale for setting default "autoscaling.knative.dev/maxScale" #8951
Conversation
Update to latest
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@arturenault: 0 warnings.
In response to this:
/lint
Fixes #8627Proposed Changes
- Add config knob for default-max-scale to allow for cluster-wide setting of default-max-scale
Release Note
Add config knob "default-max-value," which allows for setting a cluster-wide value for the max scale of a revision after creation. The config applies to any revision which doesn't have the "autoscaling.knative.dev/maxScale" annotation. The default of 0 conforms to previous behavior: revisions created with no annotation can scale without an upper bound.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
Co-authored-by: Yanwei Guo <yanweiguo@google.com>
/lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mostly lgtm, couple more nits
…lt/serving into dev/arenault/default-max-scale
This pull request introduces 1 alert when merging 2cbce5f into cdf76a9 - view on LGTM.com new alerts:
|
looks like the tests are still failing. I think because you've checked in generate-groups.sh and generate-knative.sh with a permission change and removed zz_generated.deepcopy.go. If you re-run |
Co-authored-by: Victor Agababov <vagababov@gmail.com>
The following is the coverage report on the affected files.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm! thanks for the contribution @arturenault
/lgtm
/approve
/assign @vagababov
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
Thanks.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: arturenault, julz, 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 |
/retest |
looks like #8953. /retest |
The following jobs failed:
Failed non-flaky tests preventing automatic retry of pull-knative-serving-integration-tests:
|
/retest |
@arturenault thanks for this! Would you please send a PR against the docs repository too to add this new global default? I'd imagine it to go here https://github.com/knative/docs/blob/master/docs/serving/autoscaling/scale-bounds.md#upper-bound and add a global key to the upper bound description, including an example for the ConfigMap/Operator in the example section of the upper-bound. Lemme know if you need help there. |
/lint
Fixes #8627
Proposed Changes
Release Note