Closed therus000 closed 1 month ago
Hi @therus000 ,
As https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors mentions, the label selectors are joined with &&
. That is, each selector has to be true. In your case I think you want to select namespaces where any one of them are true. In that case, consider using the "set based" syntax mentioned here: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#set-based-requirement
I'll close this out since I think it was just a misunderstanding of how selectors work, but feel free to open a GitHub Discussion (or Discord post) if you still have trouble accomplishing what you want.
A note for the community
Problem
I tried to use this config for selecting only logs from namespace's that i need it works when i write one label namespace when i select multi. It not work, no error's but not sending logs i tried like this
and like this
and like this
nothing works not logs
Configuration
Version
0.39.0-debian
Debug Output
No response
Example Data
No response
Additional Context
No response
References
No response