kubernetes/pkg/proxy/util
Surya Seetharaman 5632991115 Local Traffic Detector: Add two new modes
This PR introduces two new modes for detecting
local traffic in a cluster.
1) detectLocalByBridgeInterface: This takes a bridge name
as argument and decides all traffic that match on their
originating interface being that of this bridge, shall be
considered as local pod traffic.
2) detectLocalByInterfaceNamePrefix: This takes an interface prefix
name as argument and decides all traffic that match on their
originating interface names having a prefix that matches this
argument shall be considered as local pod traffic.

Signed-off-by: Surya Seetharaman <suryaseetharaman.9@gmail.com>
2022-03-25 20:06:06 +01:00
..
iptables Local Traffic Detector: Add two new modes 2022-03-25 20:06:06 +01:00
testing reduce cpu usage of kube-proxy with iptables mode 2021-07-05 16:08:19 +08:00
endpoints_test.go proxy/iptables: Remove unnecessary /32 and /128 in iptables rules 2021-11-09 09:32:50 -05:00
endpoints.go proxy/iptables: Remove unnecessary /32 and /128 in iptables rules 2021-11-09 09:32:50 -05:00
network.go reduce cpu usage of kube-proxy with iptables mode 2021-07-05 16:08:19 +08:00
utils_test.go Count iptables lines as we write them 2022-02-19 11:56:14 -05:00
utils.go Count iptables lines as we write them 2022-02-19 11:56:14 -05:00