I have already set up an SSH Key in my account.
But it appears that droplets created by a DOKS node pool don’t get this key installed. Which means I can’t SSH into them without restarting the droplet (to reset the root password). This is a deal-breaker for me because when things go wrong, I need to be able to run perf
(which I can’t from inside the container).
How can I SSH into my DOKS droplet without restarting it?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Enter your email to get $200 in credit for your first 60 days with DigitalOcean.
New accounts only. By submitting your email you agree to our Privacy Policy.
Hi @juancampa
Nodes are (usually) short lived, and we deliver the nodes as part of our Kubernetes as a service product (DOKS), we don’t provide a way to access the Droplets over SSH. You can deploy
doks-debug
pod to have access to the set of tools which will be helpful for troubleshooting purpose.I hope this helps !
Best, Purnima Kumari
Hi there,
Indeed, it’s correct that Droplets created by DigitalOcean Kubernetes Service don’t get user’s SSH keys installed. This is by design because the DOKS nodes are intended to be managed through the Kubernetes API, not directly via SSH.
Can you give some more information on why you need to SSH to a worker node?
Best,
Bobby