How do you connect to a node for debugging without SSH?
BeginnerScenarioEKS and cluster operations
Answer
Situation read → Nodes have no SSH keys.
What I'd do →
kubectl debug node/ip-10-0-1-5 -it --image=ubuntuwhich mounts the host at/host- Or use AWS SSM Session Manager
- Inspect with
chroot /host - Use journalctl for kubelet
- Delete the debug pod after
Why → Debug pods avoid opening SSH and leave an audit trail.
Interview tip → Mention SSM as the standard.
More on EKS and cluster operations
How do you create a production-ready EKS cluster and what do you decide up front?BeginnerPods on EKS run out of IP addresses. What happened and how do you fix it?IntermediateHow do you give a new engineer access to an EKS cluster?IntermediateCompare managed node groups, self-managed nodes, Fargate and Karpenter.IntermediateHow do you upgrade an EKS cluster from 1.31 to 1.32 with minimal risk?AdvancedA node group upgrade is slow or stuck on EKS. What do you look at?Intermediate