- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for LocalTrafficDetector (0.22 sec)
-
pkg/proxy/util/localdetector.go
// NewNoOpLocalDetector returns a no-op implementation of LocalTrafficDetector. func NewNoOpLocalDetector() LocalTrafficDetector { return &detectLocal{} } // NewDetectLocalByCIDR returns a LocalTrafficDetector that considers traffic from the // provided cidr to be from a local pod, and other traffic to be non-local. cidr is // assumed to be valid. func NewDetectLocalByCIDR(cidr string) LocalTrafficDetector { nftFamily := "ip"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 26 15:34:37 UTC 2024 - 3.6K bytes - Viewed (0) -
cmd/kube-proxy/app/server_linux_test.go
cases := []struct { name string config *proxyconfigapi.KubeProxyConfiguration primaryIPFamily v1.IPFamily nodePodCIDRs []string expected map[v1.IPFamily]proxyutil.LocalTrafficDetector }{ // LocalModeClusterCIDR { name: "LocalModeClusterCIDR, single-stack IPv4 cluster", config: &proxyconfigapi.KubeProxyConfiguration{ DetectLocalMode: proxyconfigapi.LocalModeClusterCIDR,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Apr 28 15:51:23 UTC 2024 - 21.9K bytes - Viewed (0) -
cmd/kube-proxy/app/server_linux.go
return numCPU } func getLocalDetectors(logger klog.Logger, primaryIPFamily v1.IPFamily, config *proxyconfigapi.KubeProxyConfiguration, nodePodCIDRs []string) map[v1.IPFamily]proxyutil.LocalTrafficDetector { localDetectors := map[v1.IPFamily]proxyutil.LocalTrafficDetector{ v1.IPv4Protocol: proxyutil.NewNoOpLocalDetector(), v1.IPv6Protocol: proxyutil.NewNoOpLocalDetector(), } switch config.DetectLocalMode {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 08 13:48:54 UTC 2024 - 18.1K bytes - Viewed (0) -
pkg/proxy/nftables/proxier.go
func NewDualStackProxier( ctx context.Context, syncPeriod time.Duration, minSyncPeriod time.Duration, masqueradeAll bool, masqueradeBit int, localDetectors map[v1.IPFamily]proxyutil.LocalTrafficDetector, hostname string, nodeIPs map[v1.IPFamily]net.IP, recorder events.EventRecorder, healthzServer *healthcheck.ProxierHealthServer, nodePortAddresses []string, initOnly bool,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 08 13:48:54 UTC 2024 - 55.5K bytes - Viewed (0) -
pkg/proxy/iptables/proxier.go
exec utilexec.Interface, syncPeriod time.Duration, minSyncPeriod time.Duration, masqueradeAll bool, localhostNodePorts bool, masqueradeBit int, localDetectors map[v1.IPFamily]proxyutil.LocalTrafficDetector, hostname string, nodeIPs map[v1.IPFamily]net.IP, recorder events.EventRecorder, healthzServer *healthcheck.ProxierHealthServer, nodePortAddresses []string, initOnly bool,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 14:39:54 UTC 2024 - 65.1K bytes - Viewed (0) -
pkg/proxy/ipvs/proxier.go
strictARP bool, tcpTimeout time.Duration, tcpFinTimeout time.Duration, udpTimeout time.Duration, masqueradeAll bool, masqueradeBit int, localDetectors map[v1.IPFamily]proxyutil.LocalTrafficDetector, hostname string, nodeIPs map[v1.IPFamily]net.IP, recorder events.EventRecorder, healthzServer *healthcheck.ProxierHealthServer, scheduler string, nodePortAddresses []string, initOnly bool,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Apr 28 15:51:23 UTC 2024 - 77.7K bytes - Viewed (0) -
pkg/proxy/nftables/proxier_test.go
masqueradeAll: false, localDetector: true, overrides: nil, }, { name: "no LocalTrafficDetector", line: getLine(), masqueradeAll: false, localDetector: false, overrides: map[string]packetFlowTestOverride{ // With no LocalTrafficDetector, all traffic to a // ClusterIP is assumed to be from a pod, and thus to not // require masquerading.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 01:31:57 UTC 2024 - 173.5K bytes - Viewed (0) -
pkg/proxy/iptables/proxier_test.go
masqueradeAll: false, localDetector: true, overrides: nil, }, { name: "no LocalTrafficDetector", line: getLine(), masqueradeAll: false, localDetector: false, overrides: map[string]packetFlowTestOverride{ // With no LocalTrafficDetector, all traffic to a // ClusterIP is assumed to be from a pod, and thus to not // require masquerading.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 14:39:54 UTC 2024 - 249.9K bytes - Viewed (0)