Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for svcSubnet (0.13 sec)

  1. cmd/kubeadm/app/constants/constants_test.go

    func TestGetAPIServerVirtualIP(t *testing.T) {
    	var tests = []struct {
    		name, svcSubnet, expectedIP string
    		expectedErr                 bool
    	}{
    		{
    			name:        "subnet mask 24",
    			svcSubnet:   "10.96.0.12/24",
    			expectedIP:  "10.96.0.1",
    			expectedErr: false,
    		},
    		{
    			name:        "subnet mask 12",
    			svcSubnet:   "10.96.0.0/12",
    			expectedIP:  "10.96.0.1",
    			expectedErr: false,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 03:26:36 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/addons/dns/dns_test.go

    			}
    		})
    	}
    }
    
    func TestGetDNSIP(t *testing.T) {
    	var tests = []struct {
    		name, svcSubnet, expectedDNSIP string
    		isDualStack                    bool
    	}{
    		{
    			name:          "subnet mask 12",
    			svcSubnet:     "10.96.0.0/12",
    			expectedDNSIP: "10.96.0.10",
    		},
    		{
    			name:          "subnet mask 26",
    			svcSubnet:     "10.87.116.64/26",
    			expectedDNSIP: "10.87.116.74",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/constants/constants.go

    	svcSubnet, err := GetKubernetesServiceCIDR(svcSubnetList)
    	if err != nil {
    		return nil, errors.Wrap(err, "unable to get internal Kubernetes Service IP from the given service CIDR")
    	}
    	internalAPIServerVirtualIP, err := netutils.GetIndexedIP(svcSubnet, 1)
    	if err != nil {
    		return nil, errors.Wrapf(err, "unable to get the first IP address from the given CIDR: %s", svcSubnet.String())
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 03:36:35 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  4. common/scripts/kind_provisioner.sh

    # talk to each other directly.
    #
    # [{ "cluster_name": "cluster1","pod_subnet": "10.10.0.0/16","svc_subnet": "10.255.10.0/24","network_id": "0" },
    #  { "cluster_name": "cluster2","pod_subnet": "10.20.0.0/16","svc_subnet": "10.255.20.0/24","network_id": "0" },
    #  { "cluster_name": "cluster3","pod_subnet": "10.30.0.0/16","svc_subnet": "10.255.30.0/24","network_id": "1" }]
    function load_cluster_topology() {
      CLUSTER_TOPOLOGY_CONFIG_FILE="${1}"
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 19:12:55 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top