mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-05 15:45:36 +00:00
The detectStaleConnections function in kube-proxy is very expensive in terms of CPU utilization. The results of this function are only actually used for UDP ports. This adds a protocol attribute to ServicePortName to make it simple to only run this function for UDP connections. For clusters with primarily TCP connections this can improve kube-proxy performance by 2x.
15 KiB
15 KiB