-
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
Added T3 Unlimited support #2391
Conversation
Unneeded function was added and not deleted
Syntax/semantic fix, used pointer as value
LaunchTemplateData did not have CreditSpecification field required to test T3 Unlimited
Fixed logical errors in tests. Unified T3Unlimited tests with others
Objects require passing values by reference, not by value.
Added validator that checks T3Unlimited value against instance types list
Now cpuCredits option configures T3 Unlimited functionality.
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.
otherwise nice
Changed type from *string to string
CPUCredits parameter is already validated in validation.go, so no need to re-check in nodegroup.go
Should this feature already work in eksctl 0.24.0-rc.1 with AWS Kubernetes? I'm getting the following error
when executing
with the following content for ./kubernetes/EKS/eksctl-nodegroups.yaml:
NOTE: my goal is to prevent t2/t3 spot instances to generate additional CPUCredits (the default seems to be "unlimited") |
The default certainly shouldn't have changed with this PR. |
@joergrech Can you try adding |
OK, that worked with nodeGroups - not sure how/if this can work with managedNodeGroups. I'll check tomorrow if this is really set in AWS. |
Seems to work - unlimited is disabled in EC2 |
Yeah I saw that too, thanks @joergrech! |
Description
Added support of T3 Unlimited flag for nodegroups. See #2368
This sets the flag:
To disable this functionality, use
cpuCredits: "standard"
.Checklist
README.md
, or theuserdocs
directory)area/nodegroup
), target version (e.g.version/0.12.0
) and kind (e.g.kind/improvement
)