Enabling NetworkPolicy logging may cause packet drops when massive connections hit the policy #5018
Labels
area/network-policy
Issues or PRs related to network policies.
kind/bug
Categorizes issue or PR as related to a bug.
priority/critical-urgent
Highest priority. Must be actively worked on as someone's top priority right now.
reported-by/end-user
Issues reported by end users.
Milestone
Describe the bug
As described in the title, packet could be dropped unexpectedly if massive connections hit a NetworkPolicy with logging enabled, having an impact to the performance of applications.
Quoting some discussions had in other channel:
To Reproduce
netperf -t TCP_CRR
to generate connections that hit the above NetworkPolicy. The throughput will be limited to 100 trans/s when logging is enabled, and will be increased when logging is disabled.Expected
Enabling logging should have no impact on user traffic.
Versions:
The text was updated successfully, but these errors were encountered: