mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-02-13 07:46:21 -05:00
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> |
||
|---|---|---|
| .. | ||
| traffic.go | ||
| traffic_test.go | ||