Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for DualStack (0.12 sec)

  1. pkg/controller/nodeipam/ipam/range_allocator.go

    // Caller must always pass in a list of existing nodes so the new allocator.
    // Caller must ensure that ClusterCIDRs are semantically correct e.g (1 for non DualStack, 2 for DualStack etc..)
    // can initialize its CIDR map. NodeList is only nil in testing.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 10:06:15 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. pkg/controller/nodeipam/ipam/range_allocator_test.go

    				SecondaryServiceCIDR: nil,
    				NodeCIDRMaskSizes:    []int{24},
    			},
    			allocatedCIDRs:        nil,
    			expectedAllocatedCIDR: nil,
    			ctrlCreateFail:        true,
    		},
    		{
    			description: "fail, dualstack node allocating from non existing cidr",
    
    			fakeNodeHandler: &testutil.FakeNodeHandler{
    				Existing: []*v1.Node{
    					{
    						ObjectMeta: metav1.ObjectMeta{
    							Name: "node0",
    						},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 10:06:15 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  3. pkg/proxy/winkernel/hns_test.go

    	assert.True(t, ipv4EpPresent, "IPV4 endpoint is missing in Dualstack mode")
    	assert.Equal(t, endpointIpv4.ip, epIpAddress, "IPV4 IP is missing in Dualstack mode")
    
    	endpointIpv6, ipv6EpPresent := mapEndpointsInfo[ipv6Config.IpAddress]
    	assert.True(t, ipv6EpPresent, "IPV6 endpoint is missing in Dualstack mode")
    	assert.Equal(t, endpointIpv6.ip, epIpv6Address, "IPV6 IP is missing in Dualstack mode")
    
    	err = Endpoint.Delete()
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. cmd/kube-controller-manager/app/core.go

    		if err != nil {
    			return nil, false, fmt.Errorf("failed to perform dualstack check on serviceCIDR and secondaryServiceCIDR error:%v", err)
    		}
    		if !dualstackServiceCIDR {
    			return nil, false, fmt.Errorf("serviceCIDR and secondaryServiceCIDR are not dualstack (from different IPfamiles)")
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 39K bytes
    - Viewed (0)
  5. cmd/kube-proxy/app/server_linux.go

    	logger := klog.FromContext(ctx)
    	var proxier proxy.Provider
    	var err error
    
    	localDetectors := getLocalDetectors(logger, s.PrimaryIPFamily, config, s.podCIDRs)
    
    	if config.Mode == proxyconfigapi.ProxyModeIPTables {
    		logger.Info("Using iptables Proxier")
    
    		if dualStack {
    			ipt, _ := getIPTables(s.PrimaryIPFamily)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  6. src/net/dial_test.go

    		t.Fatal(err)
    	}
    
    	for i, tt := range testCases {
    		d := &Dialer{DualStack: tt.dualstack, FallbackDelay: tt.delay}
    
    		startTime := time.Now()
    		c, err := d.Dial("tcp", JoinHostPort("slow6loopback4", dss.port))
    		elapsed := time.Since(startTime)
    		if err == nil {
    			c.Close()
    		} else if tt.dualstack {
    			t.Error(err)
    		}
    		expectMin := tt.expectElapsed - 1*time.Millisecond
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  7. pkg/proxy/apis/config/validation/validation.go

    		// if DualStack and two cidrs validate if there is at least one of each IP family
    		case len(cidrs) == 2:
    			isDual, err := netutils.IsDualStackCIDRStrings(cidrs)
    			if err != nil || !isDual {
    				allErrs = append(allErrs, field.Invalid(newPath.Child("ClusterCIDR"), config.ClusterCIDR, "must be a valid DualStack CIDR (e.g. 10.100.0.0/16,fde4:8dba:82e1::/48)"))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  8. cni/pkg/plugin/sidecar_redirect.go

    	excludeInboundPorts  string
    	excludeOutboundPorts string
    	includeInboundPorts  string
    	includeOutboundPorts string
    	kubevirtInterfaces   string
    	excludeInterfaces    string
    	dnsRedirect          bool
    	dualStack            bool
    	invalidDrop          bool
    }
    
    type annotationValidationFunc func(value string) error
    
    type annotationParam struct {
    	key        string
    	defaultVal string
    	validator  annotationValidationFunc
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. cni/pkg/plugin/plugin_test.go

    	if len(mockIntercept.lastRedirect) == 0 {
    		t.Fatalf("expected nsenterFunc to be called")
    	}
    	r := mockIntercept.lastRedirect[len(mockIntercept.lastRedirect)-1]
    	if !r.dualStack {
    		t.Fatalf("expect dualStack is true, actual %v", r.dualStack)
    	}
    }
    
    func Test_dedupPorts(t *testing.T) {
    	type args struct {
    		ports []string
    	}
    	tests := []struct {
    		name string
    		args args
    		want []string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  10. pkg/test/framework/components/echo/config.go

    	IPFamilies string
    
    	// IPFamilyPolicy. This is optional field. Mainly is used for dual stack testing.
    	IPFamilyPolicy string
    
    	DualStack bool
    
    	// ServiceWaypointProxy specifies if this workload should have an associated Waypoint for service-addressed traffic
    	ServiceWaypointProxy string
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top