-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Unmanaged nodegroups are not supported #4316
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
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
b0d7c2b
Check if managed addons are set when ipv6 is enabled
Skarlso f3e3d1a
Add OIDC check for ipv6 cluster
Skarlso 4666869
Add version check if ipv6 is defined
Skarlso ebe72a7
Setting vpc.NAT is not allowed with ipv6
Skarlso 9fdc667
serviceIPv4CIDR is not supported with ipv6
Skarlso 6bc7e76
Merge branch 'ipv6' into service_ipv4_cidr
Skarlso cbb0d74
AutoAllocateIPv6 is not supported together with ipv6
Skarlso 6ccf8a3
Unmanaged nodegroups are not supported
Skarlso a9c04cb
Merge branch 'ipv6' into unmanaged-nodegroups
Skarlso bd7564a
Merge branch 'ipv6' into unmanaged-nodegroups
Skarlso 7add99c
Added a check to the nodegroup task as well
Skarlso File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,6 +17,7 @@ import ( | |
| api "github.com/weaveworks/eksctl/pkg/apis/eksctl.io/v1alpha5" | ||
| "github.com/weaveworks/eksctl/pkg/cfn/outputs" | ||
| "github.com/weaveworks/eksctl/pkg/nodebootstrap" | ||
| utilsstrings "github.com/weaveworks/eksctl/pkg/utils/strings" | ||
| "github.com/weaveworks/eksctl/pkg/vpc" | ||
| ) | ||
|
|
||
|
|
@@ -51,6 +52,11 @@ func NewNodeGroupResourceSet(ec2API ec2iface.EC2API, iamAPI iamiface.IAMAPI, spe | |
|
|
||
| // AddAllResources adds all the information about the nodegroup to the resource set | ||
| func (n *NodeGroupResourceSet) AddAllResources() error { | ||
|
|
||
| if utilsstrings.Value(n.clusterSpec.VPC.IPFamily) == string(api.IPV6Family) { | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @aclevername I "think" this is the right place for unmanaged nodegroup creation...
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. lgtm |
||
| return errors.New("unmanaged nodegroups are not supported with IPv6 clusters") | ||
| } | ||
|
|
||
| n.rs.template.Description = fmt.Sprintf( | ||
| "%s (AMI family: %s, SSH access: %v, private networking: %v) %s", | ||
| nodeGroupTemplateDescription, | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.