fluent / fluent-bit-kubernetes-logging

Fluent Bit Kubernetes Daemonset
Apache License 2.0
467 stars 249 forks source link

How to exclude Kubernetes namespace #55

Closed orenzp closed 5 years ago

orenzp commented 5 years ago

Hi Is there a way to exclude certain namespaces in fluet-bit? I would like to exclude certain namespaces so that fluent bit doesn't forward all logs created in those namespaces to ELK.

Is there a way to do it besides adding annotation to each pod in that namespace? Im aware that you can run Kubectl annotation to update all the pod in a namespace with a new annotation.

Thanks in advance for your support and maintaining this project.

imranrazakhan commented 4 years ago

@orenzp Have you able to fix this issue?