kubebox icon indicating copy to clipboard operation
kubebox copied to clipboard

Option for selecting container inside pod

Open galan opened this issue 6 years ago • 8 comments

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

galan avatar May 17 '18 09:05 galan

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.

astefanutti avatar May 17 '18 10:05 astefanutti

Ah, I see, thanks for clarification.

galan avatar May 30 '18 08:05 galan

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

astefanutti avatar May 31 '18 08:05 astefanutti

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

ianseyer avatar Sep 22 '18 20:09 ianseyer

👍

pnull avatar May 03 '19 07:05 pnull

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.

astefanutti avatar Oct 16 '19 16:10 astefanutti

+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.

ensonic avatar Jan 20 '20 10:01 ensonic

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

astefanutti avatar Jan 20 '20 11:01 astefanutti