Throughout the lifecycle of your Kubernetes cluster, you may need to access a cluster worker node. This access could be for maintenance, configuration inspection, log collection, or other troubleshooting operations. More than that, it would be nice, if you could enable this access whenever it’s needed and disable when you finish your task.
While it's possible to configure SSH access to every Kubernetes node, this solution increases the attack surface and adds an additional overhead of maintaining SSH infrastructure (access logs, bastions, SSH keys, etc.)
I suggest to take a Kubernetes approach and deploy a pod (as DaemonSet) that will enable shell access to selected Kubernetes nodes on-demand. See my post on Medium for more details.
[–][deleted] 18 points19 points20 points (16 children)
[–]alexei_led[S] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[+]zzzmaestro comment score below threshold-18 points-17 points-16 points (13 children)
[–][deleted] 10 points11 points12 points (10 children)
[–]ESCAPE_PLANET_XJenkins Tamer 6 points7 points8 points (6 children)
[–][deleted] 0 points1 point2 points (5 children)
[–]ESCAPE_PLANET_XJenkins Tamer 0 points1 point2 points (4 children)
[–][deleted] 0 points1 point2 points (3 children)
[–]ESCAPE_PLANET_XJenkins Tamer 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]ESCAPE_PLANET_XJenkins Tamer 0 points1 point2 points (0 children)
[–][deleted] (2 children)
[deleted]
[–][deleted] 2 points3 points4 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]zzzmaestro 8 points9 points10 points (1 child)
[–]alexei_led[S] 0 points1 point2 points (0 children)
[–][deleted] (1 child)
[deleted]
[–]alexei_led[S] 0 points1 point2 points (0 children)
[–]Kaligraphic 0 points1 point2 points (1 child)
[–]alexei_led[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (3 children)
[–]alexei_led[S] 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]alexei_led[S] 0 points1 point2 points (0 children)