kubernetes/test
Antonio Ojea ea99593fa1 Fix panic on ClusterIP allocation for /28 subnets
The ClusterIP allocator tries to reserve on part of the ServiceCIDR
to allocate static IPs to the Services.

The heuristic of the allocator to obtain the offset was taking into
account the whole range size, not the IPs available in the range, the
subnet address and the broadcast address for IPv4 are not available.

This caused that for CIDRs with 16 hosts, /28 for IPv4 and /124 for
IPv6, the offset calculated was higher than the max number of available
addresses on the allocator, causing this to panic.

Change-Id: I6c6f527b0a600b3612be37769e405b8fb3dd33a8
2023-01-25 20:32:40 +00:00
..
cmd Merge pull request #113542 from ardaguclu/fix-shortname-disperancy 2023-01-03 09:29:43 -08:00
conformance move kubectl log e2e to new file & add e2e test for kubectl default container annotation 2023-01-16 21:29:43 +08:00
e2e Merge pull request #114825 from pohly/e2e-pod-consistently-pending 2023-01-22 12:56:02 -08:00
e2e_kubeadm e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
e2e_node Update CNI version to 1.2.0 2023-01-18 13:24:40 +05:30
fixtures Updating pause image refernces to 3.9 2022-11-14 10:24:54 -08:00
fuzz hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
images Merge pull request #114915 from brianwang12/master 2023-01-19 20:30:14 -08:00
instrumentation Make generated-stable-metrics use git ls-files 2023-01-22 15:22:55 -08:00
integration Fix panic on ClusterIP allocation for /28 subnets 2023-01-25 20:32:40 +00:00
kubemark Drop unsupported iks configuration for kubemark 2022-09-25 17:33:22 -04:00
list Remove KubeDescribe 2021-03-04 07:54:53 +01:00
soak/serve_hostnames fix typos 2022-06-15 13:38:48 +09:00
typecheck Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
utils e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
OWNERS test/OWNERS: add pohly as approver 2023-01-09 09:54:10 +01:00