todd-dsm / mac-ops

QnD Automation to build a MacBook Pro for DevOps
MIT License
11 stars 7 forks source link

install kubectl-ssh plugin #61

Closed todd-dsm closed 2 years ago

todd-dsm commented 2 years ago

This plugin allows you to ssh into EKS nodes

curl -O https://raw.githubusercontent.com/luksa/kubectl-plugins/master/kubectl-ssh
chmod +x kubectl-ssh
mv kubectl-ssh /usr/local/bin/
whence kubectl-ssh

Get a list of nodes

kubectl get nodes

Then SSH into one of the nodes:

kubectl ssh node ip-a-b-c-d.ec2.internal