- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for ClusterCIDRs (0.21 sec)
-
pkg/controller/nodeipam/ipam/range_allocator_test.go
{ ObjectMeta: metav1.ObjectMeta{ Name: "node0", }, }, }, Clientset: fake.NewSimpleClientset(), }, allocatorParams: CIDRAllocatorParams{ ClusterCIDRs: func() []*net.IPNet { _, clusterCIDRv4, _ := netutils.ParseCIDRSloppy("10.10.0.0/16") return []*net.IPNet{clusterCIDRv4} }(), ServiceCIDR: nil, SecondaryServiceCIDR: nil,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 10:06:15 UTC 2024 - 25.2K bytes - Viewed (0) -
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) -
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) -
cmd/kube-controller-manager/app/core.go
// failure: bad cidrs in config clusterCIDRs, dualStack, err := processCIDRs(cidrsList) if err != nil { return nil, err } // failure: more than one cidr but they are not configured as dual stack if len(clusterCIDRs) > 1 && !dualStack { return nil, fmt.Errorf("len of ClusterCIDRs==%v and they are not configured as dual stack (at least one from each IPFamily", len(clusterCIDRs)) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 08:42:31 UTC 2024 - 39K bytes - Viewed (0) -
pkg/controller/nodeipam/ipam/range_allocator.go
cidrSets := make([]*cidrset.CidrSet, len(allocatorParams.ClusterCIDRs)) for idx, cidr := range allocatorParams.ClusterCIDRs { cidrSet, err := cidrset.NewCIDRSet(cidr, allocatorParams.NodeCIDRMaskSizes[idx]) if err != nil { return nil, err } cidrSets[idx] = cidrSet } ra := &rangeAllocator{ client: client, clusterCIDRs: allocatorParams.ClusterCIDRs, cidrSets: cidrSets,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 10:06:15 UTC 2024 - 16.2K bytes - Viewed (1) -
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) -
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) -
cmd/kube-proxy/app/server.go
} else { clusterType = fmt.Sprintf("%s-only", s.PrimaryIPFamily) } if s.Config.ClusterCIDR != "" { clusterCIDRs := strings.Split(s.Config.ClusterCIDR, ",") 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 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 26 13:27:41 UTC 2024 - 46.8K bytes - Viewed (0) -
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) -
cmd/kube-proxy/app/server_linux.go
v1.IPv6Protocol: proxyutil.NewNoOpLocalDetector(), } switch config.DetectLocalMode { case proxyconfigapi.LocalModeClusterCIDR: 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)