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

Unable to make ssh connection to EKS worker nodes #1

Closed
HughWilliams opened this issue Jan 9, 2019 · 2 comments
Closed

Unable to make ssh connection to EKS worker nodes #1

HughWilliams opened this issue Jan 9, 2019 · 2 comments
Labels
question Further information is requested

Comments

@HughWilliams
Copy link

Attempting to make a ssh connection to my EKS worker nodes is failing with the error:

$ kubectl plugin ssh ip-192-168-107-182.ec2.internal -i ~/certificates/MY-KEYPAIR.pem 
MissingParameter: status
SSHing into Worker Node with IP: The
code:
ssh: Could not resolve hostname the: nodename nor servname provided, or not known
Can't SSH
error: exit status 1
$

Why does the kubectl ssh plugin think the Worker Node name or IP is "The" ???

@nithu0115
Copy link
Owner

@HughWilliams - I apologize for the delay in responding back on the issue.

Could you please run kubectl describe node <node name> and post me the output. It looks like IP which is fetched is returning "The"

@nithu0115 nithu0115 pinned this issue Feb 3, 2019
@nithu0115 nithu0115 unpinned this issue Feb 3, 2019
@nithu0115 nithu0115 added the question Further information is requested label Feb 3, 2019
@ankon
Copy link
Contributor

ankon commented Feb 11, 2019

The problem here is that the kubernetes version is "too new" (1.11+): The script_ssh.sh script depends on .spec.externalID, which was deprecated and now got removed.

Kubelets will no longer set externalID in their node spec. This feature has been deprecated since v1.1. (#61877, @mikedanese)

(https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.11.md#kubernetes-111-release-notes, kubernetes/kubernetes#61877)

ankon added a commit to ankon/kubectl-ssh-plugin-eks that referenced this issue Feb 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants