[Bug] Creating IPv6 Cluster on 2 or 4 AZs fails because of inconsistent CIDR partitioning #7835
Labels
area/aws-vpc
area/ipv6
kind/bug
priority/important-soon
Ideally to be resolved in time for the next release
Uh oh!
There was an error while loading. Please reload this page.
How to reproduce the issue?
By running
eksctl create cluster
with the following config file:What's the error?
What's the cause?
There's two code sections that handle IPv4 CIDR partitioning that are inconsistent. First section splits the range in the fashion below. The obtained CIDR are then used as-is for IPv4 clusters.
eksctl/pkg/vpc/vpc.go
Lines 131 to 146 in 4b62d1a
However, IPv6 logic splits the CIDR in a different fashion, and does not re-use the split obtained previously. Afterwards, eksctl tries to validate that the obtained ranges are consistent, which they aren't. Hence the problem above.
eksctl/pkg/cfn/builder/vpc_ipv6.go
Line 55 in 4b62d1a
The text was updated successfully, but these errors were encountered: