cloudtty icon indicating copy to clipboard operation
cloudtty copied to clipboard

Can cloudtty enter the debug pod through kubectl debug command

Open wawa0210 opened this issue 3 years ago • 1 comments

Through the kubectl debug command, start a container dedicated to debugging and attach it to the destination container, so that the debugging container can have more built-in command-line tools for troubleshooting

https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod/

wawa0210 avatar Jun 21 '22 02:06 wawa0210

Thanks for your idea. Creating an ephemeral containers may be a little faster than creating a job. But

  1. ephemeral containers requires feature-gate of kubernetes, many cluster will fail and complain ephemeral containers are disabled for this cluster
  2. Moreover, providing more utility binaries to debug a pod is not intend of cloudTTY. it will make cloudTTY image bigger.

I'm not sure if I've capture your thought correctly .

panpan0000 avatar Jun 21 '22 02:06 panpan0000

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

github-actions[bot] avatar Nov 24 '22 20:11 github-actions[bot]

This issue has not seen any activity since it was marked stale. Closing.

github-actions[bot] avatar Dec 09 '22 20:12 github-actions[bot]