Interview Prep/Kubernetes/EKS and cluster operations

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 →

  1. kubectl debug node/ip-10-0-1-5 -it --image=ubuntu which mounts the host at /host
  2. Or use AWS SSM Session Manager
  3. Inspect with chroot /host
  4. Use journalctl for kubelet
  5. Delete the debug pod after

Why → Debug pods avoid opening SSH and leave an audit trail.

Interview tip → Mention SSM as the standard.

All Kubernetes questions Roadmap: Kubernetes networking, storage & scaling

More on EKS and cluster operations