- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 23 for IPv6Protocol (0.28 sec)
-
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) -
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) -
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) -
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) -
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) -
pkg/registry/core/service/storage/storage.go
} // otherFamily returns the non-selected IPFamily. This assumes the input is // valid. func otherFamily(fam api.IPFamily) api.IPFamily { if fam == api.IPv4Protocol { return api.IPv6Protocol } return api.IPv4Protocol } var ( _ rest.ShortNamesProvider = &REST{} _ rest.CategoriesProvider = &REST{} )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 11 13:09:33 UTC 2024 - 22.3K bytes - Viewed (0) -
pkg/registry/core/service/ipallocator/bitmap_test.go
"10.15.255.255", // reserved (broadcast address) "10.255.255.2", // not in range }, alreadyAllocated: "10.0.0.1", }, { name: "IPv6", cidr: "2001:db8:1::/48", family: api.IPv6Protocol, free: 65535, released: "2001:db8:1::5", outOfRange: []string{ "2001:db8::1", // not in 2001:db8:1::/48 "2001:db8:1::", // reserved (base address)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 25 20:32:40 UTC 2023 - 21.1K bytes - Viewed (0) -
pkg/proxy/endpointslicecache.go
continue } // Filter out the incorrect IP version case. Any endpoint port that // contains incorrect IP version will be ignored. if (cache.ipFamily == v1.IPv6Protocol) != utilnet.IsIPv6String(endpoint.Addresses[0]) { // Emit event on the corresponding service which had a different IP // version than the endpoint.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:07:21 UTC 2024 - 11.7K bytes - Viewed (1) -
pkg/registry/core/service/ipallocator/bitmap.go
max := netutils.RangeSize(cidr) base := netutils.BigForIP(cidr.IP) rangeSpec := cidr.String() var family api.IPFamily if netutils.IsIPv6CIDR(cidr) { family = api.IPv6Protocol // Limit the max size, since the allocator keeps a bitmap of that size. if max > 65536 { max = 65536 } } else { family = api.IPv4Protocol
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 25 20:32:40 UTC 2023 - 10.8K bytes - Viewed (0) -
pkg/controller/servicecidrs/servicecidrs_controller_test.go
} return serviceCIDR } func makeIPAddress(name string) *networkingapiv1alpha1.IPAddress { family := string(v1.IPv4Protocol) if netutils.IsIPv6String(name) { family = string(v1.IPv6Protocol) } return &networkingapiv1alpha1.IPAddress{ ObjectMeta: metav1.ObjectMeta{ Name: name, Labels: map[string]string{ networkingapiv1alpha1.LabelIPAddressFamily: family,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 06:51:56 UTC 2024 - 22K bytes - Viewed (0)