Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for IPv6Protocol (0.17 sec)

  1. cmd/kube-proxy/app/server_linux_test.go

    				v1.IPv6Protocol: proxyutil.NewNoOpLocalDetector(),
    			},
    		},
    		{
    			name: "LocalModeClusterCIDR, single-stack IPv6 cluster",
    			config: &proxyconfigapi.KubeProxyConfiguration{
    				DetectLocalMode: proxyconfigapi.LocalModeClusterCIDR,
    				ClusterCIDR:     "2002:0:0:1234::/64",
    			},
    			primaryIPFamily: v1.IPv6Protocol,
    			expected: map[v1.IPFamily]proxyutil.LocalTrafficDetector{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  2. pkg/proxy/util/nodeport_addresses_test.go

    				},
    			},
    			expected: map[v1.IPFamily]expectation{
    				v1.IPv4Protocol: {
    					ips: sets.New[string]("10.20.30.51"),
    				},
    				v1.IPv6Protocol: {
    					matchAll: true,
    					ips:      nil,
    				},
    			},
    		},
    		{
    			name:  "IPv4 zero CIDR",
    			cidrs: []string{"0.0.0.0/0"},
    			itfAddrsPairs: []InterfaceAddrsPair{
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. pkg/proxy/util/utils_test.go

    					IPFamilies: []v1.IPFamily{v1.IPv4Protocol, v1.IPv6Protocol},
    				},
    			},
    		},
    
    		{
    			name:           "service dual stack ipv4,6. want ipv6",
    			requestFamily:  v1.IPv6Protocol,
    			expectedResult: "2000::1",
    			service: v1.Service{
    				Spec: v1.ServiceSpec{
    					ClusterIPs: []string{"10.0.0.10", "2000::1"},
    					IPFamilies: []v1.IPFamily{v1.IPv4Protocol, v1.IPv6Protocol},
    				},
    			},
    		},
    
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 11:57:43 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. pkg/registry/core/service/ipallocator/controller/repair_test.go

    		},
    		{
    			name:             "primary only (v6)",
    			expectedFamilies: []corev1.IPFamily{corev1.IPv6Protocol},
    			primaryNet:       makeIPNet("2000::/120"),
    			secondaryNet:     nil,
    		},
    		{
    			name:             "primary and secondary provided (v4,v6)",
    			expectedFamilies: []corev1.IPFamily{corev1.IPv4Protocol, corev1.IPv6Protocol},
    			primaryNet:       makeIPNet("10.0.0.0/16"),
    			secondaryNet:     makeIPNet("2000::/120"),
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 30 15:46:06 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  5. pkg/registry/core/service/ipallocator/cidrallocator.go

    	isIPv6 bool,
    ) (*MetaAllocator, error) {
    
    	// TODO: make the NewMetaAllocator agnostic of the IP family
    	family := api.IPv4Protocol
    	if isIPv6 {
    		family = api.IPv6Protocol
    	}
    
    	c := &MetaAllocator{
    		client:            client,
    		serviceCIDRLister: serviceCIDRInformer.Lister(),
    		serviceCIDRSynced: serviceCIDRInformer.Informer().HasSynced,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  6. cmd/kube-proxy/app/server_test.go

    			bindAddress:    "0.0.0.0",
    			expectedFamily: v1.IPv6Protocol,
    			expectedIPv4:   "127.0.0.1",
    			expectedIPv6:   "fd00:1234::1",
    		},
    		{
    			name:           "Bind address :: and node with IPv6 InternalIP set",
    			rawNodeIPs:     []net.IP{netutils.ParseIPSloppy("fd00:1234::1")},
    			bindAddress:    "::",
    			expectedFamily: v1.IPv6Protocol,
    			expectedIPv4:   "127.0.0.1",
    			expectedIPv6:   "fd00:1234::1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  7. pkg/proxy/healthcheck/healthcheck_test.go

    	hs.Updated(v1.IPv4Protocol)
    	hs.Updated(v1.IPv6Protocol)
    	fakeClock.Step(5 * time.Second)
    	testHTTPHandler(hsTest, http.StatusOK, t)
    
    	// Should return 503 "ServiceUnavailable" if IPv6 proxier exceed max update-processing time.
    	hs.QueuedUpdate(v1.IPv6Protocol)
    	fakeClock.Step(25 * time.Second)
    	testHTTPHandler(hsTest, http.StatusServiceUnavailable, t)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  8. cmd/kube-proxy/app/server_linux.go

    		localDetectors[v1.IPv4Protocol] = localDetector
    		localDetectors[v1.IPv6Protocol] = localDetector
    
    	case proxyconfigapi.LocalModeInterfaceNamePrefix:
    		localDetector := proxyutil.NewDetectLocalByInterfaceNamePrefix(config.DetectLocal.InterfaceNamePrefix)
    		localDetectors[v1.IPv4Protocol] = localDetector
    		localDetectors[v1.IPv6Protocol] = localDetector
    
    	default:
    		logger.Info("Defaulting to no-op detect-local")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  9. pkg/registry/core/service/ipallocator/controller/repair.go

    	primary := v1.IPv4Protocol
    	secondary := v1.IPv6Protocol
    	if netutils.IsIPv6(network.IP) {
    		primary = v1.IPv6Protocol
    	}
    
    	networkByFamily[primary] = network
    	allocatorByFamily[primary] = alloc
    	leaksByFamily[primary] = make(map[string]int)
    
    	if secondaryNetwork != nil && secondaryNetwork.IP != nil {
    		if primary == v1.IPv6Protocol {
    			secondary = v1.IPv4Protocol
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 30 15:46:06 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  10. pkg/registry/core/service/ipallocator/controller/repairip_test.go

    			ip: &networkingv1alpha1.IPAddress{
    				ObjectMeta: metav1.ObjectMeta{
    					Name: "2001:db8::11",
    					Labels: map[string]string{
    						networkingv1alpha1.LabelIPAddressFamily: string(v1.IPv6Protocol),
    						networkingv1alpha1.LabelManagedBy:       ipallocator.ControllerName,
    					},
    					CreationTimestamp: metav1.Date(2012, 1, 1, 0, 0, 0, 0, time.UTC),
    				},
    				Spec: networkingv1alpha1.IPAddressSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 20.3K bytes
    - Viewed (0)
Back to top