Allow opening multiple Log panels in parallel
What problem are you trying to solve?
My users are used to open multiple pod's logs in parallel to debug issues. As for now, it seems that we can only open the logs for the specific watched pod.
Describe the solution you'd like
A solution could be to replicate what Lens is doing : When clicking on the log panel of a pod, it opens a bottom bar with tabs, allowing users to open multiple log panels in // and to be able to switch easily between them while continuing exploring the cluster objects.
Hey Julien, thanks for the suggestion.
Would love to hear your (and your team) thoughts on alternative solutions as well so see which one works best.
Option 1: Multiple Windows. Aptakube was designed to work well on small windows, which is why the layout is so compact.
This makes it especially useful when opening multiple windows because they don't need to be too big to be useful. You can have logs from a few different pods in a single screen (if it's a bigger monitor) without having to tab between them.
This is already possible today with Cmd/Ctrl+Shift+N. What is missing it a "open in new window" shortcut that could save some time.
Option 2: a dedicated view for logs where you can select any number of pods/containers, regardless if they are part of the same deployment or not.
This would allow you to have all the logs you want in a single view/window, without having to tab between then. I'd feel like when you stream logs on a deployment with multiple pods, but logs would come from any pod you choose.
If there's a dependency between the pods, having logs in a single view might help correlate things that happen when those pods interacts with each other. When a request happens on Pod A, it sends an internal request to Pod B and their logs would show next to each other
Thoughts?
I have got some feedbacks from my teams :
Option 1 is not optimal in their opinions, they are switching between multiple pods' logs and having a window for each would be cumbersome for them.
Option 2 seems more appropriate, but to clarify a bit what they would see as this solution:
Like you said, a dedicated view for logs where they can create any number of tabs from pods and switch easily between them.
Working example from Lens :
Just to provide some context, the big plus of Aptakube for us is the aggregation of pods from multiple contexts in a single view (+aggregation of the namespaces over multiple clusters). Adding to that a flexible logging view permitting to view and switch easily pods' logs would be the ideal K8S client solution for our needs.
Hello Guilherme,
Was wondering if there was advancements on this issue, this is for us the last thing that would be missing before rolling out Aptakube to my teams.
Kind Regards, Julien
Hey @julienFlowdesk
Unfortunately there's been no progress on this yet.
The focus for the next 2 versions is:
- port forwarding
- keyboard friendliness
- context management
- preferences/settings view
After that's done, I expect to work on a UI/navigation refresh that would include support for simultaneous log viewers 🤞
Sorry for not having good new for you. Multiple windows is still the only workaround for this.
Hello @goenning,
Understandable ! We are looking forward to it and will keep an eye open on this.
Thank you
+1 Also would like to see this feature, I basically want what lens does with tabs for each set of logs I am looking at.
This also seems to be a duplicate of #54