-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Increase BPF Dataplane Endpoints #9304
Comments
Does the count match the number of end points in your cluster? Is it ever growing? |
@tomastigera Hello, the metric does not reflect the actual number of endpoints in the cluster. The metric is constantly growing, but the actual number of endpoints remains unchanged. |
Are endpoints being deleted and created? Or you have just the same endpoints all the time and those endpoints only receive updates? We have reproduced a leak created by recent change, but some pods churn is necessary for that. |
the list of endpoints does not change, only updates occur |
Would you be able to try this calico-node image |
Hello, thanks, I am going to try it on Monday and get back with response |
@tomastigera Hello! Thank you for your time, I've been testing the new image for 5 hours now and it seems to solve the problem. I'll be back with the result tomorrow :) |
@legolego621 tanks for testing 🤞 @sridhartigera thanks for the patch! |
Good day. When the number of pods increases, the felix_bpf_dataplane_endpoints metric increases, but when the number of pods decreases, the metric does not change its value, it seems that it works as a counter. If you restart calico-node, the value becomes correct until the first increase in pods. |
@legolego621 can you provide the felix debug logs when pods are added and removed. |
I am attaching a log at the moment of creation and deletion of pods logical-backup-newfmm-db-newfm-manual*.
|
@legolego621 we need the logs with debug turned on. |
@legolego621 Would you be able to test with this image? |
Hi, I tried the image sridhartigera/node:fix-bpf-eps and it seems to solve the issue. I'm attaching debug logs during pod creation and pod deletion just in case. time creating pods ~ 04.41 |
Thanks for testing. The fix is merged into 3.28 branch. |
Context
After updating calico v3.28.2, we observe an increase in the felix_bpf_dataplane_endpoints metric from the exporter (Felix BPF Dataplane Endpoints).
Is this normal behavior? It only happened after the update.
The number of real endpoints resources in kubernetes has not been increased.
The motivation for the update is to fix the bug #8897
These are the logs that are observed on calico-node. Constant updating of endpoints is done intentionally.
Expected Behavior
Real display of the number of bpf dataplane endpoints.
Current Behavior
Increase bpf dataplane endpoints.
Possible Solution
Steps to Reproduce (for bugs)
Your Environment
Felix configuration
The text was updated successfully, but these errors were encountered: