-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Increasing weave-net pod resource request and limit #8113
Comments
What version of weave? Version 2.6.0 has tremendous performance improvements and critical bug fixes for ip management conflicts when nodes are deleted. |
I am using the one that defaults to kops 1.14, Version: 2.5.2 |
Are all of our connections in your cluster using fastdp and not sleeve? You can see if its all fastdp by running:
|
@mmerrill3 I am using all fastdp(though i am not sure what it is), I can see connection established for all the nodes, except the node self, which is expected, after running the above command. |
fastdp is system space handling, whereas sleeve is userspace. sleeve is the fall back implementation if there is anything wrong with the IPAM ring. It's much more CPU and memory intensive. If you see fastdp, you don't have that issue. I set my daemonset for weave to use the following resource limits. Note that I installed weave after setting up the cluster, not using kops. I installed the daemonset manually.
I can see how adding CNI specific overrides would be pretty verbose in the cluster configuration for kops. |
Whilst we did work hard on reducing memory usage in Weave Net 2.6, it should still be expected to go up with the number of nodes so I sympathise with the suggestion that it should be configurable. |
I can look into adding these overrides in this definition file and generate the bindings in go for it. |
Signed-off-by: mmerrill3 <michael.merrill@vonage.com>
Signed-off-by: mmerrill3 <michael.merrill@vonage.com>
…urces Adding ability to configure resources for weave (#8113)
Signed-off-by: mmerrill3 <michael.merrill@vonage.com>
merged, this can be closed. |
Signed-off-by: mmerrill3 <michael.merrill@vonage.com>
@ysaakpr the functionality is released in kops 1.18 alpha |
/close |
@johngmyers: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
The above improvement was merged into Kops 1.18 alpha |
Signed-off-by: mmerrill3 <michael.merrill@vonage.com>
We are using weave net as the cni plugin and at time we found that the weave pods are getting restarted. Mostly the reason could be that the current reserved and limit resources values are 200Mb.
I could see that the weave-net pod has limited the memory at 200Mb, While, the weave container has a max memory usage reported as 136Mb, and Weave-npc container max reported as 98Mb, Which some together to 234Mb, which is more than the current limit. Its preferably better to keep the request and limit to a higher value like 300Mb, and if that is not viable its good to at least keep the limit a higher value.
And why not make the network addon resource configuration editable through the kops cmd and persist it to the config store(s3)
The text was updated successfully, but these errors were encountered: