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

Option ignoreNamespaceSelectors #2315

Open
sentoz opened this issue Dec 24, 2024 · 1 comment
Open

Option ignoreNamespaceSelectors #2315

sentoz opened this issue Dec 24, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@sentoz
Copy link

sentoz commented Dec 24, 2024

Request

Hello team, Grafana Alloy.

I would like to see an analogue of the ignoreNamespaceSelectors grafana-agent-operator function.
IgnoreNamespaceSelectors, if true, ignores NamespaceSelector settings from the PodMonitor and ServiceMonitor configs, so that they only discover endpoints within their current namespace.

Use case

In a large kubernetes, each namespace is a separate tenant and belongs to a separate team.
There is a need to prohibit collecting metrics from namespace B by creating a servicemonitor in namespace A.
Completely limiting the team to its tenant.

@sentoz sentoz added the enhancement New feature or request label Dec 24, 2024
@WoozyMasta
Copy link

I needed this too, it seemed like a familiar functionality

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants