astefanutti / kubebox

⎈❏ Terminal and Web console for Kubernetes
http://astefanutti.github.io/kubebox
MIT License
2.15k stars 142 forks source link

Option for selecting container inside pod #13

Open galan opened 6 years ago

galan commented 6 years ago

Having multiple containers running inside a pod, I need a selection mechanism to choose the pod for logs and executing into it.

astefanutti commented 6 years ago

You can select the container by just pressing ENTER. That enables rotating the pod containers.

That being said, That is a short term solution as it’s not intuitive. I was thinking to have a tree like pod / container list to make things more obvious to the user. It would solve that issue for remote exec into pod containers as well.

galan commented 6 years ago

Ah, I see, thanks for clarification.

astefanutti commented 6 years ago

Just let me keep that one open, as this is an issue for container remote exec.

ianseyer commented 5 years ago

yes - even after using enter to rotate to the correct pod, pressing r still opens to the default container

pnull commented 5 years ago

πŸ‘

astefanutti commented 4 years ago

As a poor-man solution, 60184b1 uses the same container selection mechanism than the log widget, that is pressing ENTER on a pod to rotate over its containers. It'll be available in the next release.

Let's keep that issue open to track progress on improving the overall user experience for container selection, and navigation to other resources in general.

ensonic commented 4 years ago

+1 for the tree proposal. Using the 'enter' key is not discoverable right now. With a tree one could also select the pod to see all the the pods logs at once.

astefanutti commented 4 years ago

@ensonic thanks for the feedback. A tree would also be useful to arrange resources by ownership.