- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for ClusterCIDR (0.34 sec)
-
cmd/kubeadm/app/componentconfigs/kubeproxy_test.go
t.Fatalf("found different object type than expected: %s", reflect.TypeOf(cfg)) } else if kubeproxyCfg.config.ClusterCIDR != clusterCIDR { t.Fatalf("unexpected control value (clusterDomain):\n\tgot: %q\n\texpected: %q", kubeproxyCfg.config.ClusterCIDR, clusterCIDR) } } func TestKubeProxyFromDocumentMap(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 01 14:17:07 UTC 2022 - 5.2K bytes - Viewed (0) -
pkg/controller/nodeipam/ipam/cidrset/cidr_set.go
} begin, end = 0, s.maxCIDRs-1 cidrMask := cidr.Mask maskSize, _ := cidrMask.Size() var ipSize int if !s.clusterCIDR.Contains(cidr.IP.Mask(s.clusterCIDR.Mask)) && !cidr.Contains(s.clusterCIDR.IP.Mask(cidr.Mask)) { return -1, -1, fmt.Errorf("cidr %v is out the range of cluster cidr %v", cidr, s.clusterCIDR) } if s.clusterMaskSize < maskSize {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 11 08:53:03 UTC 2023 - 9.4K bytes - Viewed (0) -
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) -
pkg/controller/nodeipam/ipam/controller_test.go
) func TestOccupyServiceCIDR(t *testing.T) { const clusterCIDR = "10.1.0.0/16" TestCase: for _, tc := range []struct { serviceCIDR string }{ {"10.0.255.0/24"}, {"10.1.0.0/24"}, {"10.1.255.0/24"}, {"10.2.0.0/24"}, } { serviceCIDR := test.MustParseCIDR(tc.serviceCIDR) set, err := cidrset.NewCIDRSet(test.MustParseCIDR(clusterCIDR), 24) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jan 04 20:48:08 UTC 2018 - 1.9K bytes - Viewed (0) -
pkg/controller/nodeipam/ipam/cidrset/metrics.go
StabilityLevel: metrics.ALPHA, }, []string{"clusterCIDR"}, ) cidrSetReleases = metrics.NewCounterVec( &metrics.CounterOpts{ Subsystem: nodeIpamSubsystem, Name: "cidrset_cidrs_releases_total", Help: "Counter measuring total number of CIDR releases.", StabilityLevel: metrics.ALPHA, }, []string{"clusterCIDR"}, )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Dec 05 15:18:45 UTC 2022 - 2.7K bytes - Viewed (0) -
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) -
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) -
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) -
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/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)