Interview Prep/Kubernetes/Rapid-Fire Commands

How do you debug a node or a running Pod with ephemeral containers?

IntermediateProductionRapid-Fire Commands
Answer
kubectl debug -it web-0 --image=nicolaka/netshoot --target=app
kubectl debug web-0 -it --copy-to=web-debug --container=app --image=busybox:1.36
kubectl debug node/ip-10-0-1-5.ap-south-1.compute.internal -it --image=ubuntu
All Kubernetes questions

More on Rapid-Fire Commands