Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 35 for ClusterCIDR (0.41 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. pkg/proxy/apis/config/scheme/testdata/KubeProxyConfiguration/after/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)
  7. pkg/proxy/apis/config/v1alpha1/zz_generated.conversion.go

    	if err := Convert_v1alpha1_DetectLocalConfiguration_To_config_DetectLocalConfiguration(&in.DetectLocal, &out.DetectLocal, s); err != nil {
    		return err
    	}
    	out.ClusterCIDR = in.ClusterCIDR
    	out.NodePortAddresses = *(*[]string)(unsafe.Pointer(&in.NodePortAddresses))
    	out.OOMScoreAdj = (*int32)(unsafe.Pointer(in.OOMScoreAdj))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:33:53 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  8. pkg/proxy/apis/config/types.go

    	DetectLocal DetectLocalConfiguration
    	// clusterCIDR is the CIDR range of the pods in the cluster. (For dual-stack
    	// clusters, this can be a comma-separated dual-stack pair of CIDR ranges.). When
    	// DetectLocalMode is set to LocalModeClusterCIDR, kube-proxy will consider
    	// traffic to be local if its source IP is in this range. (Otherwise it is not
    	// used.)
    	ClusterCIDR string
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. pkg/controller/nodeipam/ipam/range_allocator.go

    	// Checks if service CIDR has a nonempty intersection with cluster
    	// CIDR. It is the case if either clusterCIDR contains serviceCIDR with
    	// clusterCIDR's Mask applied (this means that clusterCIDR contains
    	// serviceCIDR) or vice versa (which means that serviceCIDR contains
    	// clusterCIDR).
    	for idx, cidr := range r.clusterCIDRs {
    		// if they don't overlap then ignore the filtering
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 10:06:15 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  10. cmd/kube-proxy/app/server_linux.go

    		clusterCIDRs := strings.Split(strings.TrimSpace(config.ClusterCIDR), ",")
    		for family, cidrs := range proxyutil.MapCIDRsByIPFamily(clusterCIDRs) {
    			localDetectors[family] = proxyutil.NewDetectLocalByCIDR(cidrs[0].String())
    		}
    		if !localDetectors[primaryIPFamily].IsImplemented() {
    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