-
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
create cluster -f ignored managed nodegroups #1861
Comments
There is a typo for managed node group, should be However, in my opinion, some schema validation should be done to avoid such occurrence. |
Similar issue reported before #1602 |
@sayboras thank you. Yeah, I proposed validation in a case sensitive way before. But lately I have been thinking about versioning of the schema and if we are too strict in the validation we might make backwards and forward compatibility quite difficult. Since this particular case was about this typo let's close this issue. For reference, the one about stricter validation is #753 but again, I'm not sure we should do just yet, until we have a versioning strategy in place. |
@martina-if Saw your comment quite late. I thought this one should be easy fix, then started working on this #1874, then it got bigger then I expected. Anyway, thanks for clarification. |
What happened?
ekcstl create cluster -f file.yaml
did not make any managed nodegroups, did make the unmanaged nodegroups.Output contains
and 0 managed nodegroup stack(s)
even though managedNodegroups are specified in the config file.config file, nodeGroups have been snipped out, full config in Gist
output:
What you expected to happen?
Both managed and unmanaged nodegroups should have been made, according to the managed nodegroup doc:
"It’s possible to have a cluster with both managed and unmanaged nodegroups. "
If you have to pass the '--managed' flag to 'create cluster', that needs to be added to the docs.
How to reproduce it?
Use the above config-file, replace the VPC/Subnets/SecurityGroups with your own.
Anything else we need to know?
What OS are you using, are you using a downloaded binary or did you compile eksctl, what type of AWS credentials are you using (i.e. default/named profile, MFA) - please don't include actual credentials though!
Mac OS X 10.14.6 Mojave
eksctl installed with Homebrew
Versions
Please paste in the output of these commands:
Logs
Include the output of the command line when running eksctl. If possible, eksctl should be run with debug logs. For example:
eksctl get clusters -v 4
Make sure you redact any sensitive information before posting.
If the output is long, please consider a Gist.
It is hard to re-run this, without making a new cluster. Apparently you can't just re-run
eksctl create cluster -f file.yaml
to apply new settings to an existing cluster, since I get:The text was updated successfully, but these errors were encountered: