- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for clusterCIDR (0.17 sec)
-
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/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) -
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) -
cmd/kubeadm/app/phases/addons/proxy/proxy_test.go
data: struct { ControlPlaneEndpoint, ProxyConfig, ProxyConfigMap, ProxyConfigMapKey string }{ ControlPlaneEndpoint: "foo", ProxyConfig: " bindAddress: 0.0.0.0\n clusterCIDR: 192.168.1.1\n enableProfiling: false", ProxyConfigMap: "bar", ProxyConfigMapKey: "baz", }, }, { name: "KubeProxyDaemonSet19", manifest: KubeProxyDaemonSet19,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Feb 18 11:14:32 UTC 2024 - 8.7K bytes - Viewed (0)