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

sidecar exec #27464

Closed
kfox1111 opened this issue Jun 15, 2016 · 6 comments
Closed

sidecar exec #27464

kfox1111 opened this issue Jun 15, 2016 · 6 comments

Comments

@kfox1111
Copy link

Say I keep my containers as light weight as possible, perhaps using alpine or some other light weight distro.

When something goes wrong in a pod, it can be difficult to exec in and debug sometimes because there are no debugging tools in the container.

It would be awesome if you could temporarily attach a new sidecar container to the specified pod for debugging purposes.

something like:
kubectl exec -it mypod -s mydebugcont /bin/bash

It could even perhaps take a -c flag and attach to the same pid namespace of the specified container so stuff like running strace -p would work.

@lavalamp
Copy link
Member

I'm pretty sure this is a duplicate request... Not sure how to find the other issue though. I'll leave this open because it's a well written clear feature request, thanks.

@kfox1111
Copy link
Author

docker 1.12 has this implemented:
moby/moby#10163

Which I think would be a prereq.

@jascott1
Copy link

I am very interested in this feature.

@wilkers-steve
Copy link

I also think this would be a great feature to have

@jeremyschlatter
Copy link

Similar to #27140

@xiangpengzhao
Copy link
Contributor

Yeah this is a dup of #27140. The proposal is kubernetes/community#649. @verb is working on it. The related WIP PRs are #45442, #46243, #46256, #46261.

I suggest we close this issue and follow @verb 's work.

@thockin

@thockin thockin closed this as completed May 30, 2017
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

7 participants