Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for InterfaceNamePrefix (0.34 sec)

  1. pkg/proxy/apis/config/scheme/testdata/KubeProxyConfiguration/roundtrip/default/v1alpha1.yaml

    conntrack:
      maxPerCore: 32768
      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
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 17 12:50:03 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. pkg/proxy/apis/config/scheme/testdata/KubeProxyConfiguration/after/v1alpha1.yaml

    conntrack:
      maxPerCore: 32768
      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
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 17 12:50:03 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. pkg/proxy/apis/config/v1alpha1/zz_generated.conversion.go

    	out.BridgeInterface = in.BridgeInterface
    	out.InterfaceNamePrefix = in.InterfaceNamePrefix
    	return nil
    }
    
    // Convert_v1alpha1_DetectLocalConfiguration_To_config_DetectLocalConfiguration is an autogenerated conversion function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:33:53 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  4. pkg/proxy/apis/config/types.go

    	// it originates from this bridge.
    	BridgeInterface string
    	// interfaceNamePrefix is an interface name prefix. When DetectLocalMode is set to
    	// LocalModeInterfaceNamePrefix, kube-proxy will consider traffic to be local if
    	// it originates from any interface whose name begins with this prefix.
    	InterfaceNamePrefix string
    }
    
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 13K bytes
    - Viewed (0)
  5. pkg/proxy/apis/config/validation/validation_test.go

    			mutateConfigFunc: func(config *kubeproxyconfig.KubeProxyConfiguration) {
    				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)
  6. cmd/kube-proxy/app/server_linux_test.go

    			name: "LocalModeInterfaceNamePrefix",
    			config: &proxyconfigapi.KubeProxyConfiguration{
    				DetectLocalMode: proxyconfigapi.LocalModeInterfaceNamePrefix,
    				DetectLocal:     proxyconfigapi.DetectLocalConfiguration{InterfaceNamePrefix: "eth"},
    			},
    			primaryIPFamily: v1.IPv4Protocol,
    			expected: map[v1.IPFamily]proxyutil.LocalTrafficDetector{
    				v1.IPv4Protocol: proxyutil.NewDetectLocalByInterfaceNamePrefix("eth"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  7. cmd/kube-proxy/app/server_test.go

      syncPeriod: 60s
    kind: KubeProxyConfiguration
    metricsBindAddress: "%s"
    mode: "%s"
    oomScoreAdj: 17
    portRange: "2-7"
    detectLocalMode: "ClusterCIDR"
    detectLocal:
      bridgeInterface: "cbr0"
      interfaceNamePrefix: "veth"
    nodePortAddresses:
      - "10.20.30.40/16"
      - "fd00:1::0/64"
    `
    
    	testCases := []struct {
    		name               string
    		mode               string
    		bindAddress        string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  8. pkg/proxy/apis/config/validation/validation.go

    	}
    	if config.DetectLocalMode == kubeproxyconfig.LocalModeInterfaceNamePrefix {
    		allErrs = append(allErrs, validateInterface(config.DetectLocal.InterfaceNamePrefix, newPath.Child("InterfacePrefix"))...)
    	}
    	allErrs = append(allErrs, logsapi.Validate(&config.Logging, effectiveFeatures, newPath.Child("logging"))...)
    
    	return allErrs
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  9. cmd/kube-proxy/app/server.go

    	fs.StringVar(&o.config.DetectLocal.InterfaceNamePrefix, "pod-interface-name-prefix", o.config.DetectLocal.InterfaceNamePrefix, "An interface name prefix. When --detect-local-mode is set to InterfaceNamePrefix, kube-proxy will consider traffic to be local if it originates from any interface whose name begins with this prefix.")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  10. cmd/kube-proxy/app/server_linux.go

    		localDetectors[v1.IPv6Protocol] = localDetector
    
    	case proxyconfigapi.LocalModeInterfaceNamePrefix:
    		localDetector := proxyutil.NewDetectLocalByInterfaceNamePrefix(config.DetectLocal.InterfaceNamePrefix)
    		localDetectors[v1.IPv4Protocol] = localDetector
    		localDetectors[v1.IPv6Protocol] = localDetector
    
    	default:
    		logger.Info("Defaulting to no-op detect-local")
    	}
    
    	return localDetectors
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
Back to top