aylei / kubectl-debug

This repository is no longer maintained, please checkout https://github.com/JamesTGrant/kubectl-debug.
Apache License 2.0
2.3k stars 304 forks source link

If my target pod has multiple contianers? #145

Open HeGaoYuan opened 3 years ago

HeGaoYuan commented 3 years ago

If my target pod has multiple contianers? When I execute kubectl debug target_pod, I found it will talk with the first container. But If my target pod has two containers, what should I do if I want to talk with the second/another contaienr? Thanks

hzluyang commented 3 years ago

-c can fix it