Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for LocalModeBridgeInterface (0.5 sec)

  1. cmd/kube-proxy/app/server_linux_test.go

    				v1.IPv4Protocol: proxyutil.NewNoOpLocalDetector(),
    				v1.IPv6Protocol: proxyutil.NewNoOpLocalDetector(),
    			},
    		},
    		// LocalModeBridgeInterface
    		{
    			name: "LocalModeBridgeInterface",
    			config: &proxyconfigapi.KubeProxyConfiguration{
    				DetectLocalMode: proxyconfigapi.LocalModeBridgeInterface,
    				DetectLocal:     proxyconfigapi.DetectLocalConfiguration{BridgeInterface: "eth"},
    			},
    			primaryIPFamily: v1.IPv4Protocol,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  2. 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)
  3. pkg/proxy/apis/config/types.go

    }
    
    // DetectLocalConfiguration contains optional settings related to DetectLocalMode option
    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)
  4. pkg/proxy/apis/config/validation/validation_test.go

    				config.DetectLocal = kubeproxyconfig.DetectLocalConfiguration{
    					InterfaceNamePrefix: "vethabcde",
    				}
    			},
    		},
    		"LocalModeBridgeInterface": {
    			mutateConfigFunc: func(config *kubeproxyconfig.KubeProxyConfiguration) {
    				config.DetectLocalMode = kubeproxyconfig.LocalModeBridgeInterface
    				config.DetectLocal = kubeproxyconfig.DetectLocalConfiguration{
    					BridgeInterface: "avz",
    				}
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  5. cmd/kube-proxy/app/server_linux.go

    			logger.Info("Detect-local-mode set to NodeCIDR, but no PodCIDR defined at node for primary IP family", "ipFamily", primaryIPFamily, "podCIDRs", nodePodCIDRs)
    		}
    
    	case proxyconfigapi.LocalModeBridgeInterface:
    		localDetector := proxyutil.NewDetectLocalByBridgeInterface(config.DetectLocal.BridgeInterface)
    		localDetectors[v1.IPv4Protocol] = localDetector
    		localDetectors[v1.IPv6Protocol] = localDetector
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  6. pkg/generated/openapi/zz_generated.openapi.go

    				Properties: map[string]spec.Schema{
    					"bridgeInterface": {
    						SchemaProps: spec.SchemaProps{
    							Description: "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.",
    							Default:     "",
    							Type:        []string{"string"},
    							Format:      "",
    						},
    					},
    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