Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for clusterCIDRs (0.21 sec)

  1. cmd/cloud-controller-manager/nodeipamcontroller.go

    	}
    
    	// failure: bad cidrs in config
    	clusterCIDRs, dualStack, err := processCIDRs(ccmConfig.ComponentConfig.KubeCloudShared.ClusterCIDR)
    	if err != nil {
    		return nil, false, err
    	}
    
    	// failure: more than one cidr but they are not configured as dual stack
    	if len(clusterCIDRs) > 1 && !dualStack {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 14 19:06:22 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  2. pkg/controller/nodeipam/node_ipam_controller.go

    		var err error
    		ic.legacyIPAM, err = createLegacyIPAM(ctx, ic, nodeInformer, cloud, kubeClient, clusterCIDRs, serviceCIDR, nodeCIDRMaskSizes)
    		if err != nil {
    			return nil, err
    		}
    	} else {
    		var err error
    
    		allocatorParams := ipam.CIDRAllocatorParams{
    			ClusterCIDRs:         clusterCIDRs,
    			ServiceCIDR:          ic.serviceCIDR,
    			SecondaryServiceCIDR: ic.secondaryServiceCIDR,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:18:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. pkg/controller/nodeipam/nolegacyprovider.go

    	<-ctx.Done()
    }
    
    func createLegacyIPAM(
    	ctx context.Context,
    	ic *Controller,
    	nodeInformer coreinformers.NodeInformer,
    	cloud cloudprovider.Interface,
    	kubeClient clientset.Interface,
    	clusterCIDRs []*net.IPNet,
    	serviceCIDR *net.IPNet,
    	nodeCIDRMaskSizes []int,
    ) (*fakeController, error) {
    	return nil, errors.New("Error trying to Init(): legacy cloud provider support disabled at build time")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 13:03:53 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. pkg/controller/nodeipam/ipam/cidr_allocator.go

    	Run(ctx context.Context)
    }
    
    // CIDRAllocatorParams is parameters that's required for creating new
    // cidr range allocator.
    type CIDRAllocatorParams struct {
    	// ClusterCIDRs is list of cluster cidrs.
    	ClusterCIDRs []*net.IPNet
    	// ServiceCIDR is primary service cidr for cluster.
    	ServiceCIDR *net.IPNet
    	// SecondaryServiceCIDR is secondary service cidr for cluster.
    	SecondaryServiceCIDR *net.IPNet
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 13:03:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/networking/v1alpha1/generated.proto

      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
    
      // items is the list of ClusterCIDRs.
      repeated ClusterCIDR items = 2;
    }
    
    // ClusterCIDRSpec defines the desired state of ClusterCIDR.
    message ClusterCIDRSpec {
      // nodeSelector defines which nodes the config is applicable to.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top