-
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
Only add KPA label to a K8S service of a revision if KPA is used #3498
Conversation
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.
@yanweiguo: 0 warnings.
In response to this:
Fixes #2606
Proposed Changes
- Add annotation
autoscaling.knative.dev/class: kpa.autoscaling.knative.dev
to a Revision if this annotation is not present inRevisionTemplate
. In this case KPA is used by default.- Only add label
autoscaling.knative.dev/kpa
to a K8S service of a Revision if KPA is used for this Revision.Release Note
Annotation `autoscaling.knative.dev/class: kpa.autoscaling.knative.dev` is added to Revisions if this annotation is not present in `RevisionTemplate`.
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.
The following is the coverage report on pkg/.
|
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 looks good.
Thanks.
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
Probably you want to change "fixes" part, since this is partial fix. |
It should fix the issue with the change in |
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.
/approve
/lgtm
/hold
Hold in case you want to fix the seemingly unwanted diff.
/test pull-knative-serving-upgrade-tests |
/hold cancel |
/test pull-knative-serving-upgrade-tests |
3 similar comments
/test pull-knative-serving-upgrade-tests |
/test pull-knative-serving-upgrade-tests |
/test pull-knative-serving-upgrade-tests |
/assign @vagababov For reconciler approval. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: markusthoemmes, vagababov, yanweiguo 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 |
/test pull-knative-serving-upgrade-tests |
3 similar comments
/test pull-knative-serving-upgrade-tests |
/test pull-knative-serving-upgrade-tests |
/test pull-knative-serving-upgrade-tests |
/test pull-knative-serving-upgrade-tests We'll get there. Trust me! |
Fixes #2606
Proposed Changes
autoscaling.knative.dev/kpa
to a K8S service of a Revision if KPA is used for this Revision.Release Note