argoproj / argo-cd

Declarative Continuous Deployment for Kubernetes
https://argo-cd.readthedocs.io
Apache License 2.0
17.51k stars 5.33k forks source link

Support for a container debug (attaching ephemeral containers) in ArgoCD UI #11103

Open danmx opened 1 year ago

danmx commented 1 year ago

Summary

I would like to do a kubectl debug a container of a Pod in ArgoCD UI similar to currently available kubectl exec option.

Motivation

As a security engineer I think kubectl debug (attaching ephemeral container) is more secure than kubectl exec when debugging a container. You can:

Proposal

How do you think this should be implemented?

tooptoop4 commented 1 year ago

this would be great, as currently can't exec into distroless images

dhirschfeld commented 1 year ago

I came here looking for the same thing. As mentioned this is particularly important for images which don't have a shell to exec into.

meastp commented 1 month ago

When developers only have access to Argo UI, and not kubectl, this feature would be very useful for debugging, profiling etc.!

blakepettersson commented 1 month ago

Feel free to create a proposal + PR for kubectl debug, it would be very welcome.