-
Notifications
You must be signed in to change notification settings - Fork 48
Add unmanaged nodegroup support #490
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
Conversation
777d772 to
f9be768
Compare
f9be768 to
4e90d25
Compare
shvbsle
left a comment
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.
LGTM
|
Has this been tested on experimental infra ? |
mengqiy
left a comment
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.
We will need a teardown task as well to clean up the ASG
| echo "$node_group_name is "CREATING" at $(date)" | ||
| sleep 2 | ||
| done | ||
| # TODO: do this for unmanaged nodes as well |
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.
If the TODO is for unmanaged node group, we should add it in the else clause below.
| kubectl apply -f aws-auth-cm.yaml | ||
| echo "Created aws-auth ConfigMap" | ||
| # Wait for the config map to be ready | ||
| echo "Verifying aws-auth ConfigMap..." |
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.
If kubectl apply exit with 0, then the aws-auth CM should have been applied successfully.
Is there a scenario that is not covered by that?
| --arg SecurityGroup "$(jq -r '.cluster.resourcesVpcConfig.clusterSecurityGroupId' cluster.json)" \ | ||
| --arg VpcId $(jq -r '.cluster.resourcesVpcConfig.vpcId' cluster.json) \ | ||
| '$ARGS.named | to_entries | map({"ParameterKey": .key, "ParameterValue": .value})' \ | ||
| > parameters.json |
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.
It would be good to cat this file if it's not super long.
|
My comments don't have to be blocking. I'm OK merging this as is and address the comments in a follow-up PR. |
|
LGTM |
Description of changes:
Adds support for creating unmanaged nodegroup(s).
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.