kubectl-debug icon indicating copy to clipboard operation
kubectl-debug copied to clipboard

How to only use target pod network?

Open fred214 opened this issue 5 years ago • 0 comments

Hi, I want to debug the target pod why it can't access some external host. But when I use kubectl debug with port-forward mode, it can access the external host. It seemingly access the external host via debug-pod network.

So is there an solution only using target pod network? (for example, logon cluster host and run kubectl debug without port-forward)

fred214 avatar Jun 15 '20 07:06 fred214