-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[k8sprocessor] Watch pods in a set of namespaces #4623
Comments
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners: See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This feature request makes sense but we don't have enough capacity to work on it at this point. Any help is appreciated. Should be implemented once we have e2e tests in place tho #15651 |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners: See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This issue has been closed as inactive because it has been stale for 120 days with no activity. |
Is your feature request related to a problem? Please describe.
The processor is currently able to watch pods in a single namespace, on a single node, or across the entire cluster. In multi-tenant clusters, watching every pod is at best inefficient and worst forbidden, while looking at a single node is best-suited for DaemonSet deployments. This means the only option left is to have a processor or collector for each namespace of a multi-namespace application.
Describe the solution you'd like
It would be great if instead of a single namespace as is currently the case:
A list of namespaces could be passed:
Describe alternatives you've considered
k8s_tagger
for each namespace and list them in the pipeline, assuming the correct one will pick up a given pod and all others will ignore it.k8s_tagger
instance filtering by that namespace. Each could use a receiver listening on a dedicated port.Additional context
Prometheus's K8s service discovery is capable of watching multiple namespaces at once:
The text was updated successfully, but these errors were encountered: