这是indexloc提供的服务,不要输入任何密码
Skip to content

Add new ConfigMap field for max-max-scale #9419

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

Merged
merged 2 commits into from
Sep 16, 2020

Conversation

taragu
Copy link
Contributor

@taragu taragu commented Sep 15, 2020

/lint

Part of #8628

Proposed Changes

Add new ConfigMap field for max-max-scale

/assign @vagababov @markusthoemmes @julz

@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label Sep 15, 2020
@knative-prow-robot knative-prow-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Sep 15, 2020
Copy link
Contributor

@knative-prow-robot knative-prow-robot left a comment

Choose a reason for hiding this comment

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

@taragu: 0 warnings.

In response to this:

/lint

Part of #8628

Proposed Changes

Add new ConfigMap field for max-max-scale

/assign @vagababov @markusthoemmes @julz

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.

Copy link
Contributor

@yanweiguo yanweiguo left a comment

Choose a reason for hiding this comment

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

/lgtm

@@ -150,6 +154,7 @@ func NewConfigFromMap(data map[string]string) (*Config, error) {

cm.AsInt32("initial-scale", &lc.InitialScale),
cm.AsInt32("max-scale", &lc.MaxScale),
cm.AsInt32("max-max-scale", &lc.MaxMaxScale),
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure whether we can have a better name :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes 😂

Copy link
Contributor

Choose a reason for hiding this comment

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

MaxestScale 👅

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Sep 15, 2020
Copy link
Contributor

@vagababov vagababov left a comment

Choose a reason for hiding this comment

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

/lgtm

@@ -150,6 +154,7 @@ func NewConfigFromMap(data map[string]string) (*Config, error) {

cm.AsInt32("initial-scale", &lc.InitialScale),
cm.AsInt32("max-scale", &lc.MaxScale),
cm.AsInt32("max-max-scale", &lc.MaxMaxScale),
Copy link
Contributor

Choose a reason for hiding this comment

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

MaxestScale 👅

@knative-prow-robot knative-prow-robot removed the lgtm Indicates that a PR is ready to be merged. label Sep 15, 2020
@vagababov
Copy link
Contributor

/lgtm
/approve

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Sep 16, 2020
@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: taragu, 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

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 16, 2020
@knative-prow-robot knative-prow-robot merged commit 21c7944 into knative:master Sep 16, 2020
@duglin
Copy link

duglin commented Sep 16, 2020

LOL I think "maxestScale" would have been too funny!

Copy link
Member

@julz julz left a comment

Choose a reason for hiding this comment

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

Oops, I was gonna suggest MaxScaleLimit (avoids the stutter and consistent with ContainerConcurrencyMaxLimit) but my iPhone GitHub app apparently didn't send it. Oh well.

@taragu
Copy link
Contributor Author

taragu commented Sep 16, 2020

@julz MaxScaleLimit does sound better. I will send in a PR to rename.

@taragu taragu deleted the max-maxscale-cm branch September 16, 2020 11:08
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/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.

8 participants