-
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
Add flag to enable Simple System Manager (SSM) for easy SSH access #2754
Conversation
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.
I have left a few comments but otherwise LGTM.
One thing that's left out though is the SSM agent is not being installed for managed nodegroups. This should be handled in pkg/cfn/builder/managed_launch_template.go
in makeUserData
. Note that if a user specifies a custom launch template, we should disallow the ssh.enableSsm
option.
Co-authored-by: Chetan Patwal <cPu1@users.noreply.github.com>
Co-authored-by: Chetan Patwal <cPu1@users.noreply.github.com>
Co-authored-by: Chetan Patwal <cPu1@users.noreply.github.com>
Thanks for the comments @cPu1 , some great spots!
Oops! Good spot. I'll update it to handle managed nodegroups and update the docs to note the behaviour for custom launch templates. Thanks 😄 |
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.
Support for managed nodegroups looks good 👍
We shouldn't ignore enableSsm
if a launch template is specified, but rather disallow its usage.
Co-authored-by: Chetan Patwal <cPu1@users.noreply.github.com>
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.
🎉
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.
🚀
Description
This PR add the optional to enable Simple Systems Manager (SSM) by passing the
--enable-ssm
flag. Once SSM is installed you can easily ssh onto nodes in the cluster by runningaws ssm start-session --target <node-id> --region <region>
Manually Tested
Related issue #2743
Checklist
README.md
, or theuserdocs
directory)area/nodegroup
), target version (e.g.version/0.12.0
) and kind (e.g.kind/improvement
)