-
Notifications
You must be signed in to change notification settings - Fork 593
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
Adopt app.kubernetes.io
labels
#5628
Adopt app.kubernetes.io
labels
#5628
Conversation
Codecov Report
@@ Coverage Diff @@
## main #5628 +/- ##
==========================================
- Coverage 82.73% 82.68% -0.06%
==========================================
Files 200 200
Lines 6245 6261 +16
==========================================
+ Hits 5167 5177 +10
- Misses 748 750 +2
- Partials 330 334 +4
Continue to review full report at Codecov.
|
@upodroid why not add these labels to CRDs? |
Noticed imc, eventing-controller and few other apps are missing services with metrics endpoints. I added that + labels to CRDs, I still need to label other misc items. |
This is ready now. |
/unassign @dprotaso |
@@ -19,6 +19,9 @@ metadata: | |||
namespace: knative-eventing | |||
labels: | |||
eventing.knative.dev/release: devel | |||
app.kubernetes.io/name: mt-broker-filter |
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.
can you drop mt-
prefix?
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.
Fixed
@@ -19,6 +19,9 @@ metadata: | |||
namespace: knative-eventing | |||
labels: | |||
eventing.knative.dev/release: devel | |||
app.kubernetes.io/name: mt-broker-ingress |
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.
same here
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.
Fixed
@@ -95,3 +101,25 @@ spec: | |||
containerPort: 9090 | |||
- name: profiling | |||
containerPort: 8008 | |||
--- |
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.
not sure we want this below, at least not in this PR
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.
We should have it, especially for gathering metrics via ServiceMonitors
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.
Can you then update this PR description (and release notes) stating that these controllers are now exposed?
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.
aren't ServiceMonitors running in the cluster?
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.
I'd opt to move this to a different PR give the nature of the described changes. 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.
Updated release notes.
aren't ServiceMonitors running in the cluster?
Yes
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.
+1 on moving that to a new PR
/cc @skonto regarding ServiceMonitors
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.
I'll move the new Services to a separate PR.
FYI, Service Monitors are CRDs that ship with Prometheus Operator. It is a way of defining Prometheus scrape configuration.
@@ -28,6 +31,9 @@ spec: | |||
labels: | |||
eventing.knative.dev/brokerRole: filter | |||
eventing.knative.dev/release: devel | |||
app.kubernetes.io/name: mt-broker-filter |
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.
here too. In general, can you remove all instances of mt-
in labels?
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.
Removed more instances of mt- prefix.
/lgtm /cc @lionelvillard |
We are missing approved label on this PR. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pierDipi, upodroid 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 |
@upodroid thanks for the PR! Would you be interested in doing the same for:
repositories too? 🙏 |
I'll do the same for those as well. |
Fixes: #5559
Pre-review Checklist
Release Note
Docs