Skip to content
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

feat: add additional labels for pod monitor in Cluster #4438

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

ma-ts
Copy link

@ma-ts ma-ts commented May 5, 2024

Adds the possibility to add additional labels to just the pod monitor. Currently, this is already possible by setting them on the Cluster object, but then a significant amount of resources get labeled with labels that are not relevant there. This is to support multi-tenant Prometheus situations where there might be separate Prometheus scrapers

Fixes: #4435

@github-actions github-actions bot added backport-requested ◀️ This pull request should be backported to all supported releases release-1.21 release-1.22 release-1.23 labels May 5, 2024
Copy link
Contributor

github-actions bot commented May 5, 2024

❗ By default, the pull request is configured to backport to all release branches.

  • To stop backporting this pr, remove the label: backport-requested ◀️ or add the label 'do not backport'
  • To stop backporting this pr to a certain release branch, remove the specific branch label: release-x.y

Signed-off-by: Mats Willemsen <60099717+ma-ts@users.noreply.github.com>
@ma-ts ma-ts requested a review from a team as a code owner May 19, 2024 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-requested ◀️ This pull request should be backported to all supported releases release-1.21 release-1.22 release-1.23
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature]: Specify addtional labels for PodMonitor
1 participant