Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If my target pod has multiple contianers? #145

Open
HeGaoYuan opened this issue May 25, 2021 · 1 comment
Open

If my target pod has multiple contianers? #145

HeGaoYuan opened this issue May 25, 2021 · 1 comment

Comments

@HeGaoYuan
Copy link

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
Copy link

-c can fix it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants