-
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
feat: Nodegroup as a resource #369
feat: Nodegroup as a resource #369
Conversation
5b62bb7
to
867c73f
Compare
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.
Thanks for wrapping this up @mumoshu! I'd love to get it in ASAP, and due to holidays and timezones I'm going to address my review comments myself.
867c73f
to
07a5cc2
Compare
I've started making changes, but looks like I might now be able to finish this today and need to switch to doing something else. I will continue after the holidays, i.e. most likely on Friday. |
This comment has been minimized.
This comment has been minimized.
@errordeveloper Thanks for your efforts! I've added small commits hoping they help you focus on bigger things. Also - I started getting 404 errors from the weaveworks/eksctl project in CircleCI due to unknown reason. Perhaps someone in your org. made the whole CircleCI org private, by any chance? The build seems broken seeing the status check, but is passing on my machine. |
@errordeveloper I've reproduced and fixed this in 19f9f1f |
I believe this has been fixed in da00fc9, in case that's what you meant. Sorry for leaving many mistakes but this should be good to go now(again). |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
f65c323
to
8010128
Compare
This comment has been minimized.
This comment has been minimized.
8010128
to
4002579
Compare
My final TODOs:
|
4002579
to
4ad2d88
Compare
`eksctl` now allows you to manage any number of nodegroups other than the initial nodegroup. Changes: - `eksctl create nodegroup --cluster CLUSTER_NAME [NODEGROUP_NAME]` is added Creates an additional nodegroup. The nodegroup name is randomly generated when omitted. - `eksctl get nodegroup --cluster CLUSTER_NAME` is added Lists all the nodegroups including the initial one and the additional ones. - `eksctl delete nodegroup --cluster CLUSTER_NAME NODEGROUP_NAME` is added Deletes a nodegroup by name. - `eksctl create cluster` has been changed to accept an optional `--nodegroup NODEGROUP_NAME` that specifies the nodegroup name. - `eksctl delete cluster CLUSTER_NAME` has been changed to recursively delete all the nodegroups including additional ones. - `eksctl scale nodegroup --cluster CLUSTER_NAME NODEGROUP_NAME` has been changed to accept the target nodegroup name as the second argument Checklist: - [x] Code compiles correctly (i.e `make build`) - [x] Added tests that cover your change (if possible) - [x] All tests passing (i.e. `make test`) - Added/modified documentation as required (such as the README) - Added yourself to the `humans.txt` file Acknowledgements: This is a successor of eksctl-io#281 and eksctl-io#332. All the original credits goes to Richard Case <[email protected]> who has started eksctl-io#281. Thanks a lot, Richard! Signed-off-by: Yusuke Kuoka <[email protected]>
67a91a8
to
24d6f7f
Compare
24d6f7f
to
51ddf93
Compare
626c72b
to
8022c72
Compare
} | ||
|
||
// BlockingWaitDeleteStack kills a stack by name and waits for DELETED status | ||
func (c *StackCollection) BlockingWaitDeleteStack(name string) error { |
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 add Blocking
to the name of the old function, because that's what it is actually. We keep using it where it was used previously, but use new non-blocking version above when we need to delete all nodegroups in parallel and run a task for each of the nodegroups.
- move name generator functions into one file make usage consistent - review stack manager code - make examples in docs more consistent - update output message formatting, improve consistency - update some usage messages, move more flags into cmdutils - refactor `ctl.GetCredentials` - refactor stack listers - do not reset tags when scaling nodegroup
8022c72
to
c356a9c
Compare
- ensure CGO is always off and netgo is always on - add musl-dev (somehow cgo still gets dragged in) - add .dockerignore files
7f6deee
to
015e273
Compare
🎉 |
Been waiting on this feature, thanks to all who made it happen 🎉 |
enable users to set ec2-endpoint for nonstandard regions
eksctl
now allows you to manage any number of nodegroups other than the initial nodegroup.Changes:
eksctl create nodegroup --cluster CLUSTER_NAME [NODEGROUP_NAME]
is addedCreates an additional nodegroup.
The nodegroup name is randomly generated when omitted.
eksctl get nodegroup --cluster CLUSTER_NAME
is addedLists all the nodegroups including the initial one and the additional ones.
eksctl delete nodegroup --cluster CLUSTER_NAME NODEGROUP_NAME
is addedDeletes a nodegroup by name.
eksctl create cluster
has been changed to accept an optional--nodegroup NODEGROUP_NAME
that specifies the nodegroup name.eksctl delete cluster CLUSTER_NAME
has been changed to recursively delete all the nodegroups including additional ones.eksctl scale nodegroup --cluster CLUSTER_NAME NODEGROUP_NAME
has been changed to accept the target nodegroup name as the second argumentChecklist:
make build
)make test
)humans.txt
fileAcknowledgements:
This is a successor of #281 and #332.
All the original credits goes to Richard Case [email protected] who has started #281. Thanks a lot, Richard!
Signed-off-by: Yusuke Kuoka [email protected]