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

Optimize k8s api requests #25

Open
yshch opened this issue Dec 12, 2021 · 0 comments
Open

Optimize k8s api requests #25

yshch opened this issue Dec 12, 2021 · 0 comments

Comments

@yshch
Copy link
Contributor

yshch commented Dec 12, 2021

Currently loggo uses simple List() method to retrieve k8s Services for every namespace. This is very inefficient and causes noticeable load spikes on both kube-apiserver and etcd.

Instead, loggo should use some kind of "list-then-watch" logic, for example through the standard k8s.io/client-go/cache package.

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

1 participant