Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for LocalModeClusterCIDR (0.36 sec)

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

    			detectLocal:         "",
    			expectedDetectLocal: proxyconfigapi.LocalModeClusterCIDR,
    		},
    		{
    			name:                "explicit",
    			mode:                proxyconfigapi.ProxyModeIPTables,
    			expectedMode:        proxyconfigapi.ProxyModeIPTables,
    			detectLocal:         proxyconfigapi.LocalModeClusterCIDR,
    			expectedDetectLocal: proxyconfigapi.LocalModeClusterCIDR,
    		},
    		{
    			name:                "override mode",
    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. 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)
  3. pkg/proxy/apis/config/types.go

    	// nftables contains nftables-related configuration options.
    	NFTables KubeProxyNFTablesConfiguration
    
    	// detectLocalMode determines mode to use for detecting local traffic, defaults to LocalModeClusterCIDR
    	DetectLocalMode LocalMode
    	// detectLocal contains optional configuration settings related to DetectLocalMode.
    	DetectLocal DetectLocalConfiguration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. cmd/kube-proxy/app/server_test.go

    			OOMScoreAdj:        ptr.To[int32](17),
    			PortRange:          "2-7",
    			NodePortAddresses:  []string{"10.20.30.40/16", "fd00:1::0/64"},
    			DetectLocalMode:    kubeproxyconfig.LocalModeClusterCIDR,
    			DetectLocal: kubeproxyconfig.DetectLocalConfiguration{
    				BridgeInterface:     string("cbr0"),
    				InterfaceNamePrefix: string("veth"),
    			},
    			Logging: logsapi.LoggingConfiguration{
    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

    }
    
    func validateDetectLocalMode(mode kubeproxyconfig.LocalMode, fldPath *field.Path) field.ErrorList {
    	validModes := []string{
    		string(kubeproxyconfig.LocalModeClusterCIDR),
    		string(kubeproxyconfig.LocalModeNodeCIDR),
    		string(kubeproxyconfig.LocalModeBridgeInterface),
    		string(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)
  6. cmd/kube-proxy/app/server.go

    		if badCIDRs(clusterCIDRs, badFamily) {
    			errors = append(errors, fmt.Errorf("cluster is %s but clusterCIDRs contains only IPv%s addresses", clusterType, badFamily))
    			if s.Config.DetectLocalMode == kubeproxyconfig.LocalModeClusterCIDR && !dualStackSupported {
    				// This has always been a fatal error
    				fatal = true
    			}
    		}
    	}
    
    	if badCIDRs(s.podCIDRs, badFamily) {
    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. pkg/generated/openapi/zz_generated.openapi.go

    						},
    					},
    					"detectLocalMode": {
    						SchemaProps: spec.SchemaProps{
    							Description: "detectLocalMode determines mode to use for detecting local traffic, defaults to LocalModeClusterCIDR",
    							Default:     "",
    							Type:        []string{"string"},
    							Format:      "",
    						},
    					},
    					"detectLocal": {
    						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