-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Allocate IPv6 blocks for all subnets #776
Conversation
Feature is working as expected during my testing. The ipv6 CIDR are added to the subnets and the route table also includes the ipv6 outgoing rule. |
34b3d8f
to
41ba556
Compare
07c859c
to
c92a5be
Compare
6b4eeb1
to
e321c38
Compare
I added a whole bunch of new unit tests for the cluster stack, it's not complete yet, but at least it now goes as far as testing key aspects of the cluster stack builder. https://github.com/weaveworks/eksctl/pull/776/files#diff-d5202f6261e88644b8b1715122f47c4c |
// NOTE: this is done inside of CloudFormation using Fn::Cidr, | ||
// we don't slice it here, just construct the JSON expression | ||
// that does slicing at runtime. | ||
refAutoAllocateCIDRv6 := gfn.MakeFnSelect( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is inside a big loop and these are quite low level details, can we encapsulate lines 57-66 into a function like addCIDR6Selector(subnetIndex)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, the puzzling thing is that it's all a bit tied into how the outer function works, don't you think? I'd much rather take all of the conditional IPv6 bits out, but that asks for more refactoring...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've tried, but it turns out more complicated for what its worth... I'd rather live it for later.
e321c38
to
7fcb93d
Compare
add toleration time to NoExecute effect --- Enable in next release
Description
Fixes #566.
Checklist
make build
)make test
)make integration-test
)README.md
, andexamples
directory)