-
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
consistent label selector for Service - include app label #13265
Conversation
Welcome @a7i! It looks like this is your first PR to knative/serving 🎉 |
Hi @a7i. Thanks for your PR. I'm waiting for a knative member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
Thanks for the PR! @dprotaso any legacy reason why we preferred |
Codecov ReportBase: 86.44% // Head: 86.47% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #13265 +/- ##
==========================================
+ Coverage 86.44% 86.47% +0.02%
==========================================
Files 196 196
Lines 14600 14600
==========================================
+ Hits 12621 12625 +4
+ Misses 1678 1675 -3
+ Partials 301 300 -1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
The app label seems to be a requirement for istio telemetry. Also there is this issue #13168 that discusses avoiding using the label. |
That's referring to the I think |
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.
Let's make sure we have app
in the selector and in a subsequent release we can drop the role
label.
bump @a7i - you still interested in landing this PR? |
8b79879
to
a1dbe09
Compare
It's going to be tough to remove labels from Deployment selectors as they're immutable. It will require a forced recreate. |
I see - then let's not worry about it then. /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: a7i, dprotaso 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 |
Proposed Changes
controller
,autoscaler
use the selector labelapp
whilewebhook
anddomainmapping-webhook
use therole
selector. This change includes theapp
label which brings consistency across all resources.Note and Service and PodDisruptionBudget selectors are not immutable, meaning that they can change (unlike Deployment/StatefulSet).
Release Note