Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for InterfaceNamePrefix (0.35 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. pkg/generated/openapi/zz_generated.openapi.go

    							Default:     "",
    							Type:        []string{"string"},
    							Format:      "",
    						},
    					},
    					"interfaceNamePrefix": {
    						SchemaProps: spec.SchemaProps{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
Back to top