Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 42 for IPv6Protocol (0.35 sec)

  1. 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)
  2. 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)
  3. cmd/kube-proxy/app/server_windows.go

    // platform-specific setup.
    func (s *ProxyServer) platformSetup(ctx context.Context) error {
    	// Preserve backward-compatibility with the old secondary IP behavior
    	if s.PrimaryIPFamily == v1.IPv4Protocol {
    		s.NodeIPs[v1.IPv6Protocol] = net.IPv6zero
    	} else {
    		s.NodeIPs[v1.IPv4Protocol] = net.IPv4zero
    	}
    	return nil
    }
    
    // platformCheckSupported is called immediately before creating the Proxier, to check
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. pkg/proxy/winkernel/proxier.go

    	}
    
    	ipv6Proxier, err := NewProxier(v1.IPv6Protocol, syncPeriod, minSyncPeriod,
    		hostname, nodeIPs[v1.IPv6Protocol], recorder, healthzServer,
    		healthzBindAddress, config)
    	if err != nil {
    		return nil, fmt.Errorf("unable to create ipv6 proxier: %v, hostname: %s, nodeIP:%v", err, hostname, nodeIPs[v1.IPv6Protocol])
    	}
    
    	// Return a meta-proxier that dispatch calls between the two
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 59K bytes
    - Viewed (0)
  5. pkg/proxy/nftables/proxier.go

    	if err != nil {
    		return nil, fmt.Errorf("unable to create ipv4 proxier: %v", err)
    	}
    
    	ipv6Proxier, err := NewProxier(ctx, v1.IPv6Protocol,
    		syncPeriod, minSyncPeriod, masqueradeAll, masqueradeBit,
    		localDetectors[v1.IPv6Protocol], hostname, nodeIPs[v1.IPv6Protocol],
    		recorder, healthzServer, nodePortAddresses, initOnly)
    	if err != nil {
    		return nil, fmt.Errorf("unable to create ipv6 proxier: %v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  6. pkg/registry/core/service/storage/alloc.go

    		len(al.serviceIPAllocatorsByFamily) == 2 {
    
    		if service.Spec.IPFamilies[0] == api.IPv4Protocol {
    			service.Spec.IPFamilies = append(service.Spec.IPFamilies, api.IPv6Protocol)
    		} else if service.Spec.IPFamilies[0] == api.IPv6Protocol {
    			service.Spec.IPFamilies = append(service.Spec.IPFamilies, api.IPv4Protocol)
    		}
    	}
    
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:05 UTC 2023
    - 37.3K bytes
    - Viewed (0)
  7. pkg/registry/core/service/ipallocator/controller/repairip.go

    	r.tree = tree
    	return nil
    }
    
    func newIPAddress(name string, svc *v1.Service) *networkingv1alpha1.IPAddress {
    	family := string(v1.IPv4Protocol)
    	if netutils.IsIPv6String(name) {
    		family = string(v1.IPv6Protocol)
    	}
    	return &networkingv1alpha1.IPAddress{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: name,
    			Labels: map[string]string{
    				networkingv1alpha1.LabelIPAddressFamily: family,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  8. cmd/kube-proxy/app/server.go

    	primaryFamily := v1.IPv4Protocol
    	nodeIPs := map[v1.IPFamily]net.IP{
    		v1.IPv4Protocol: net.IPv4(127, 0, 0, 1),
    		v1.IPv6Protocol: net.IPv6loopback,
    	}
    
    	if len(rawNodeIPs) > 0 {
    		if !netutils.IsIPv4(rawNodeIPs[0]) {
    			primaryFamily = v1.IPv6Protocol
    		}
    		nodeIPs[primaryFamily] = rawNodeIPs[0]
    		if len(rawNodeIPs) > 1 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  9. pkg/controller/endpoint/endpoints_controller.go

    			if utilnet.IsIPv6String(pod.Status.PodIP) {
    				ipFamily = v1.IPv6Protocol
    			}
    		}
    	}
    
    	// find an ip that matches the family
    	for _, podIP := range pod.Status.PodIPs {
    		if (ipFamily == v1.IPv6Protocol) == utilnet.IsIPv6String(podIP.IP) {
    			endpointIP = podIP.IP
    			break
    		}
    	}
    
    	if endpointIP == "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  10. pkg/proxy/servicechangetracker_test.go

    							{IP: testExternalIPv6},
    						},
    					},
    				},
    			},
    		},
    		{
    			desc:     "service with ipv4 clusterIP under ipv6 mode, service should be filtered",
    			ipFamily: v1.IPv6Protocol,
    
    			service: &v1.Service{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "invalidIPv4InIPV6Mode",
    					Namespace: "test",
    				},
    				Spec: v1.ServiceSpec{
    					ClusterIP: testClusterIPv4,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 33.7K bytes
    - Viewed (0)
Back to top