- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for clusterCIDR (0.1 sec)
-
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) -
pkg/controller/nodeipam/node_ipam_controller.go
allocatorType ipam.CIDRAllocatorType) (*Controller, error) { if kubeClient == nil { return nil, fmt.Errorf("kubeClient is nil when starting Controller") } // Cloud CIDR allocator does not rely on clusterCIDR or nodeCIDRMaskSize for allocation. if allocatorType != ipam.CloudAllocatorType { if len(clusterCIDRs) == 0 { return nil, fmt.Errorf("Controller: Must specify --cluster-cidr if --allocate-node-cidrs is set") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 16:18:38 UTC 2024 - 5.4K bytes - Viewed (0)