How do I ssh into LKE nodes?
I would like to ssh into the LKE nodes of my LKE cluster. It seems that there is no way to add my ssh public keys to these LKE nodes from the UI or cli. Is there a simple way to do this when I create a LKE cluster?
rl0nergan Linode Staff
While there isn't a simple way to add your SSH keys to the nodes in an LKE Cluster on creation, one of our LKE developers created dssh which should be able to help with this.
dssh is a daemonset that you can deploy and every 60 seconds it will apply your SSH keys to each node in the cluster. This process ensures that even if a node is deleted and recreated your SSH keys will still be applied so you can access it via SSH.
kubectl node-shell <node-name></node-name>