-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IPv6 clusters break because of netmask dependency in YAML #1520
Comments
Since pulumi-eks/nodejs/eks/cluster.ts Lines 1038 to 1043 in 9c128c5
Since the function is incompatible with IPv6, this will always fail when there are IPv6 routes to an internet gateway in a subnet's route table. |
I unblocked myself by disabling the But the problem technically still persists. |
Thanks for raising this issue with us, it sounds like we do not correctly support ipv6. This sounds like it will be a bigger lift to add support for ipv6 so we will most likely not be able to pick this up soon. Upvotes will definitely help us prioritize this. |
What happened?
pulumi preview
andpulumi up
fail when creating IPv6 cluster in a IPv6 configured VPC in YAML.I have attached my VPC and EKS stacks in the Context input field.
Thank you!
Example
Here are both of the stacks Pulumi.yaml files.
The config itself is quite small (omitting accounts and Roles)
Pulumi.yaml for the VPC (CUElang generated)
Pulumi.yaml for the EKS cluster (CUElang generated)
Output of
pulumi about
Additional context
From https://pulumi-community.slack.com/archives/CRH5ENVDX/p1733409647746379
The code related to this cf
pulumi-eks/nodejs/eks/nodegroup.ts
Lines 1632 to 1634 in 9c128c5
The function definition is here
pulumi-eks/nodejs/eks/nodegroup.ts
Lines 1671 to 1683 in 9c128c5
As you can see, the netmasks are hardcoded for IPv4 private ranges.
The netmask package only mentions IPv4 support cf its description:
So hasInternetGatewayRoute errors because the route:
contains
function call as it only supports IPv4On Slack, we think we've managed to go all the way back to the root cause -> https://github.com/pulumi/pulumi-eks/blob/master/nodejs/eks/nodegroup.ts#L653
So there's no aws.eks.Cluster.privateSubnetIds
What's weird for me is that this happens in the default nodegroup creation flow but I have
"skipDefaultNodeGroup": true
and"fargate": true
in my Pulumi.yaml as you can see above.Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: