- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for detectLocalMode (0.33 sec)
-
cmd/kube-proxy/app/server_linux_test.go
Mode: tc.mode, DetectLocalMode: tc.detectLocal, } options.platformApplyDefaults(config) if config.Mode != tc.expectedMode { t.Fatalf("expected mode: %s, but got: %s", tc.expectedMode, config.Mode) } if config.DetectLocalMode != tc.expectedDetectLocal { t.Fatalf("expected detect-local: %s, but got: %s", tc.expectedDetectLocal, config.DetectLocalMode) } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Apr 28 15:51:23 UTC 2024 - 21.9K bytes - Viewed (0) -
pkg/proxy/apis/config/types.go
type DetectLocalConfiguration struct { // bridgeInterface is a bridge interface name. When DetectLocalMode is set to // LocalModeBridgeInterface, kube-proxy will consider traffic to be local if // it originates from this bridge. BridgeInterface string // interfaceNamePrefix is an interface name prefix. When DetectLocalMode is set to
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 13:25:06 UTC 2024 - 13K bytes - Viewed (0) -
pkg/proxy/apis/config/scheme/testdata/KubeProxyConfiguration/roundtrip/default/v1alpha1.yaml
min: 131072 tcpBeLiberal: false tcpCloseWaitTimeout: 1h0m0s tcpEstablishedTimeout: 24h0m0s udpStreamTimeout: 0s udpTimeout: 0s detectLocal: bridgeInterface: "" interfaceNamePrefix: "" detectLocalMode: "" enableProfiling: false healthzBindAddress: 0.0.0.0:10256 hostnameOverride: "" iptables: localhostNodePorts: true masqueradeAll: false masqueradeBit: 14 minSyncPeriod: 1s syncPeriod: 30s
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 17 12:50:03 UTC 2024 - 1.4K bytes - Viewed (0) -
pkg/proxy/apis/config/validation/validation_test.go
config.DetectLocalMode = kubeproxyconfig.LocalModeInterfaceNamePrefix config.DetectLocal = kubeproxyconfig.DetectLocalConfiguration{ InterfaceNamePrefix: "vethabcde", } }, }, "LocalModeBridgeInterface": { mutateConfigFunc: func(config *kubeproxyconfig.KubeProxyConfiguration) { config.DetectLocalMode = kubeproxyconfig.LocalModeBridgeInterface
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 33.3K bytes - Viewed (0) -
pkg/proxy/apis/config/scheme/testdata/KubeProxyConfiguration/after/v1alpha1.yaml
min: 131072 tcpBeLiberal: false tcpCloseWaitTimeout: 1h0m0s tcpEstablishedTimeout: 24h0m0s udpStreamTimeout: 0s udpTimeout: 0s detectLocal: bridgeInterface: "" interfaceNamePrefix: "" detectLocalMode: "" enableProfiling: false healthzBindAddress: 0.0.0.0:10256 hostnameOverride: "" iptables: localhostNodePorts: true masqueradeAll: false masqueradeBit: 14 minSyncPeriod: 1s syncPeriod: 30s
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 17 12:50:03 UTC 2024 - 1.4K bytes - Viewed (0) -
pkg/proxy/apis/config/v1alpha1/zz_generated.conversion.go
return err } if err := Convert_v1alpha1_KubeProxyWinkernelConfiguration_To_config_KubeProxyWinkernelConfiguration(&in.Winkernel, &out.Winkernel, s); err != nil { return err } out.DetectLocalMode = config.LocalMode(in.DetectLocalMode) if err := Convert_v1alpha1_DetectLocalConfiguration_To_config_DetectLocalConfiguration(&in.DetectLocal, &out.DetectLocal, s); err != nil { return err } out.ClusterCIDR = in.ClusterCIDR
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:33:53 UTC 2023 - 22.3K bytes - Viewed (0) -
cmd/kube-proxy/app/server_linux.go
} if config.DetectLocalMode == "" { o.logger.V(4).Info("Defaulting detect-local-mode", "localModeClusterCIDR", string(proxyconfigapi.LocalModeClusterCIDR)) config.DetectLocalMode = proxyconfigapi.LocalModeClusterCIDR } o.logger.V(2).Info("DetectLocalMode", "localMode", string(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/apis/config/validation/validation.go
allErrs = append(allErrs, validateDetectLocalMode(config.DetectLocalMode, newPath.Child("DetectLocalMode"))...) if config.DetectLocalMode == kubeproxyconfig.LocalModeBridgeInterface { allErrs = append(allErrs, validateInterface(config.DetectLocal.BridgeInterface, newPath.Child("InterfaceName"))...) } if config.DetectLocalMode == kubeproxyconfig.LocalModeInterfaceNamePrefix {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 13:25:06 UTC 2024 - 14.6K bytes - Viewed (0) -
cmd/kube-proxy/app/server_test.go
DetectLocalMode: kubeproxyconfig.LocalModeNodeCIDR, }, PrimaryIPFamily: v1.IPv4Protocol, podCIDRs: []string{"10.0.0.0/8", "fd01:2345::/64"}, }, ssErr: false, dsErr: false, }, { name: "ok reversed dual-stack node.spec.podCIDRs", proxy: &ProxyServer{ Config: &kubeproxyconfig.KubeProxyConfiguration{ DetectLocalMode: kubeproxyconfig.LocalModeNodeCIDR,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 05:08:41 UTC 2024 - 32.3K bytes - Viewed (0) -
cmd/kube-proxy/app/server.go
if s.Config.DetectLocalMode == kubeproxyconfig.LocalModeClusterCIDR && !dualStackSupported { // This has always been a fatal error fatal = true } } } if badCIDRs(s.podCIDRs, badFamily) { errors = append(errors, fmt.Errorf("cluster is %s but node.spec.podCIDRs contains only IPv%s addresses", clusterType, badFamily)) if s.Config.DetectLocalMode == kubeproxyconfig.LocalModeNodeCIDR {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 26 13:27:41 UTC 2024 - 46.8K bytes - Viewed (0)