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

k8s: add ability to include / exclude pods by namespace #272

Open
geekflyer opened this issue Jul 25, 2019 · 5 comments
Open

k8s: add ability to include / exclude pods by namespace #272

geekflyer opened this issue Jul 25, 2019 · 5 comments

Comments

@geekflyer
Copy link

Hi, could you please add the functionality to include / exclude containers by namespace in k8s? I requested this already half a year ago when we evaluated scalyr, and hope we can get this soon :)

@jmorascalyr
Copy link
Contributor

Hello,
Thanks for reaching out. You can exclude based upon namespace using the option k8s_ignore_namespaces This is a comma-delimited blacklist of namespaces. The default value is "kube-system". Currently, there is no support for a whitelist.

Please let me know if you have any other questions.

Regards,

@jmorascalyr
Copy link
Contributor

Hi,

I have had a discussion with the product team and engineering and adding whitelist functionality here would not be too difficult of a task. I have opened a feature request and will update you when the whitelist functionality has been implemented.

Regards,

Joel Mora
Technical Support Engineer
Scalyr, Inc.

@geekflyer
Copy link
Author

Hi @jmorascalyr . I set the environment SCALYR_K8S_IGNORE_NAMESPACES=kube-system,datadog on the scalyr agent, but I still see logs coming from the datadog namespace, so it appears to not work 😢. Any thoughts on this?

Fyi the whitelist functionality is not that important for me. A working blacklist is at the moment sufficient for our needs. Thanks.

@pasali
Copy link

pasali commented Sep 20, 2019

hi @jmorascalyr is there any ETA on adding whitelist functionality ?

@codekoala
Copy link

Checking in on this 3.5 years later... any progress on whitelisting namespaces?

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

No branches or pull requests

4 participants