Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for ClusterCIDR (0.28 sec)

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

    			},
    		},
    		{
    			name: "LocalModeClusterCIDR, no ClusterCIDR",
    			config: &proxyconfigapi.KubeProxyConfiguration{
    				DetectLocalMode: proxyconfigapi.LocalModeClusterCIDR,
    				ClusterCIDR:     "",
    			},
    			primaryIPFamily: v1.IPv4Protocol,
    			expected: map[v1.IPFamily]proxyutil.LocalTrafficDetector{
    				v1.IPv4Protocol: proxyutil.NewNoOpLocalDetector(),
    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/kubeadm/app/componentconfigs/kubeproxy.go

    	}
    
    	if kp.config.ClusterCIDR == "" && cfg.Networking.PodSubnet != "" {
    		kp.config.ClusterCIDR = cfg.Networking.PodSubnet
    	} else if cfg.Networking.PodSubnet != "" && kp.config.ClusterCIDR != cfg.Networking.PodSubnet {
    		warnDefaultComponentConfigValue(kind, "clusterCIDR", cfg.Networking.PodSubnet, kp.config.ClusterCIDR)
    	}
    
    	if kp.config.ClientConnection.Kubeconfig == "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 03:01:30 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. pkg/controller/nodeipam/ipam/range_allocator_test.go

    						},
    					},
    				},
    				Clientset: fake.NewSimpleClientset(),
    			},
    			allocatorParams: CIDRAllocatorParams{
    				ClusterCIDRs: func() []*net.IPNet {
    					_, clusterCIDR, _ := netutils.ParseCIDRSloppy("127.123.234.0/24")
    					return []*net.IPNet{clusterCIDR}
    				}(),
    				ServiceCIDR:          nil,
    				SecondaryServiceCIDR: nil,
    				NodeCIDRMaskSizes:    []int{30},
    			},
    			expectedAllocatedCIDR: map[int]string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 10:06:15 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/networking/v1alpha1/generated.proto

    option go_package = "k8s.io/api/networking/v1alpha1";
    
    // ClusterCIDR represents a single configuration for per-Node Pod CIDR
    // allocations when the MultiCIDRRangeAllocator is enabled (see the config for
    // kube-controller-manager).  A cluster may have any number of ClusterCIDR
    // resources, all of which will be considered when allocating a CIDR for a
    // Node.  A ClusterCIDR is eligible to be used for a given Node when the node
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. cmd/kube-proxy/app/server_test.go

    			proxy: &ProxyServer{
    				Config: &kubeproxyconfig.KubeProxyConfiguration{
    					ClusterCIDR: "fd01:2345::/64",
    				},
    				PrimaryIPFamily: v1.IPv4Protocol,
    			},
    			ssErr:   true,
    			ssFatal: false,
    			dsErr:   true,
    			dsFatal: false,
    		},
    		{
    			name: "wrong-family clusterCIDR when using ClusterCIDR LocalDetector",
    			proxy: &ProxyServer{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  6. pkg/proxy/apis/config/validation/validation_test.go

    				config.ClusterCIDR = "fd00:192:168:59::/64"
    			},
    		},
    		"alternate healthz port": {
    			mutateConfigFunc: func(config *kubeproxyconfig.KubeProxyConfiguration) {
    				config.HealthzBindAddress = "0.0.0.0:12345"
    			},
    		},
    		"ClusterCIDR is wrong IP family": {
    			mutateConfigFunc: func(config *kubeproxyconfig.KubeProxyConfiguration) {
    				config.ClusterCIDR = "fd00:192:168::/64"
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  7. pkg/proxy/apis/config/validation/validation.go

    			}
    		// if we are here means that len(cidrs) == 1, we need to validate it
    		default:
    			if _, _, err := netutils.ParseCIDRSloppy(config.ClusterCIDR); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  8. pkg/proxy/apis/config/scheme/testdata/KubeProxyConfiguration/roundtrip/default/v1alpha1.yaml

    apiVersion: kubeproxy.config.k8s.io/v1alpha1
    bindAddress: 0.0.0.0
    bindAddressHardFail: false
    clientConnection:
      acceptContentTypes: ""
      burst: 10
      contentType: application/vnd.kubernetes.protobuf
      kubeconfig: ""
      qps: 5
    clusterCIDR: ""
    configSyncPeriod: 15m0s
    conntrack:
      maxPerCore: 32768
      min: 131072
      tcpBeLiberal: false
      tcpCloseWaitTimeout: 1h0m0s
      tcpEstablishedTimeout: 24h0m0s
      udpStreamTimeout: 0s
      udpTimeout: 0s
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 17 12:50:03 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. cmd/cloud-controller-manager/nodeipamcontroller.go

    	sortedSizes := func(maskSizeIPv4, maskSizeIPv6 int) []int {
    		nodeMaskCIDRs := make([]int, len(clusterCIDRs))
    
    		for idx, clusterCIDR := range clusterCIDRs {
    			if netutils.IsIPv6CIDR(clusterCIDR) {
    				nodeMaskCIDRs[idx] = maskSizeIPv6
    			} else {
    				nodeMaskCIDRs[idx] = maskSizeIPv4
    			}
    		}
    		return nodeMaskCIDRs
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 14 19:06:22 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  10. pkg/controller/nodeipam/ipam/cidr_allocator.go

    	return outCIDRs
    }
    
    // occupyServiceCIDR removes the service CIDR range from the cluster CIDR if it
    // intersects.
    func occupyServiceCIDR(set *cidrset.CidrSet, clusterCIDR, serviceCIDR *net.IPNet) error {
    	if clusterCIDR.Contains(serviceCIDR.IP) || serviceCIDR.Contains(clusterCIDR.IP) {
    		if err := set.Occupy(serviceCIDR); err != nil {
    			return err
    		}
    	}
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 13:03:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top