SSH into a Kubernetes cluster
Blog post from Octopus Deploy
Jump boxes or bastion hosts serve as a secure access point to private networks from the public internet, typically using trusted remote access services like RDP or SSH. The author describes how to deploy an OpenSSH server within a Kubernetes cluster to facilitate administrative tasks, highlighting the ease of hosting an SSH server as a Kubernetes pod. The setup involves creating a service account with specific permissions, deploying an instance of the linuxserver/openssh-server image, and exposing it through a load balancer service. To enhance efficiency, the author suggests incorporating kubectl and its configuration into a custom Docker image to ensure persistent availability upon pod recreation. This approach allows for secure and convenient management of Kubernetes clusters, leveraging the bastion host as a reliable tool for DevOps teams handling routine administrative tasks.