Error saying "Error reading ssh key" when trying to create the cluster

0 votes

I'm trying to create a cluster,

I've created a hosted domain zone, an s3 bucket as well

I'm using the following command to create the cluster

kops create cluster --cloud=aws --zones=us-east-2a --name=<name> --dns-zone=<zone_name> --dns private

Its throwing the following error:

Error reading SSH key
Oct 17, 2018 in Kubernetes by Nilesh
• 6,980 points

1 answer to this question.

0 votes

You need to create the public key of its own as the cluster does not communicate with any other key. Follow these steps Nilesh to create the public key

1. cd .ssh
2. ssh-keygen
3. Set the location as id_rsa
4. it'll promp for a password, if you want the password, eneter the password or else just press ENETR and the public key will be created.

answered Oct 17, 2018 by Kalgi
• 51,970 points

Related Questions In Kubernetes

+1 vote
1 answer
0 votes
1 answer

permissions related to AWS ECR

if you add allowContainerRegistry: true, kops will add those permissions ...READ MORE

answered Oct 9, 2018 in Kubernetes by Kalgi
• 51,970 points
0 votes
1 answer

Create LoadBalancer for kubernetes cluster in aws

Hello @Lina, If you're running your cluster on ...READ MORE

answered Oct 8, 2018 in Kubernetes by Kalgi
• 51,970 points