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

VpcCNI is making list calls on all nodes & CNINode in cluster and causing scalability issues on large clusters. #3158

Open
hakuna-matatah opened this issue Dec 19, 2024 · 1 comment

Comments

@hakuna-matatah
Copy link

hakuna-matatah commented Dec 19, 2024

What would you like to be added:

Based on the code it seems like vpc-cni is using informer for k8s client and warms up the cache on startup iiuc for certain resources like nodes, cninodes etc
I think ask is to change this to use a direct k8s client or a informer cache on specific object name/namespace if possible as vpc-cni only need single Node object from my understanding given its a deamonset.

Why is this needed:

LIST calls are expensive for nodes and cninodes on large scale clusters especially when warming up client side cache as it causes lot of data to be exchanged especially when cni-node crash loops on very large cluster and overload APIServer.

@hakuna-matatah
Copy link
Author

hakuna-matatah commented Dec 19, 2024

It appears node filters are added recently in last release. We should be doing the same for cninodes.

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

No branches or pull requests

1 participant