Skip to content
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

CDK typescript dose not have "ssh-access" feature? #5745

Closed
jialechan opened this issue Jan 10, 2020 · 2 comments
Closed

CDK typescript dose not have "ssh-access" feature? #5745

jialechan opened this issue Jan 10, 2020 · 2 comments
Labels
needs-triage This issue or PR still needs to be triaged.

Comments

@jialechan
Copy link
Contributor

❓ CDK typescript dose not have "ssh-access" feature?

The Question

eksctl create cluster \
--name myeks \
--ssh-access \
--ssh-public-key xxx
const eksCluster = new eks.Cluster(this, 'myeks', {
	clusterName: 'myeks',
	???
}

I'm trying to change the eksctl command to TypeScript's cdk code. But it seems that it does not support the ssh-access feature? Is there any solution?

Environment

  • CDK CLI Version: 1.20
  • Module Version: 1.20
  • OS: Ubuntu
  • Language: TypeScript

Other information

@jialechan jialechan added the needs-triage This issue or PR still needs to be triaged. label Jan 10, 2020
@netroy
Copy link
Contributor

netroy commented Jan 10, 2020

@jialechan

Since Cloudformation doesn't support managing EC2 key-pairs yet, eksctl manages your ssh keys internally.

If you can provision a key-pair manually (cli or console), here is the CDk documentaion on how to use that key-pair to SSH into your worker nodes.

@jialechan
Copy link
Contributor Author

Great! Thanks a lots :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

2 participants