Skip to content

Container specific log reading - #154

Open
Ghostbird wants to merge 2 commits into
benc-uk:mainfrom
Ghostbird:container-specific-logs
Open

Container specific log reading#154
Ghostbird wants to merge 2 commits into
benc-uk:mainfrom
Ghostbird:container-specific-logs

Conversation

@Ghostbird

@Ghostbird Ghostbird commented Feb 11, 2026

Copy link
Copy Markdown
Contributor

First of all, once again apologies that I haven't discussed this, but there is an issue #150 this time. So I'm improving.

Background

Previously, Kubeview’s pod log viewer did not support selecting logs for individual containers within a pod. This caused issues for users with multi-container pods, as described in #150:

“I do wonder what I should expect when I click pod logs on a pod with multiple containers. Does it just aggregate the logs for all containers? What if I want to see logs for an individual container in that pod? It seems like that should be possible, but I don't see a way to do that.”

User Story

As a Kubeview user working with pods that have multiple containers,
I want to be able to view logs for a specific container within a pod,
So that I can monitor each container independently without errors.

Approach

  • Replaced the old “Pod Logs” button in the UI with a “Container Logs” button for each container in the side panel.
  • The logs dialog now opens for a specific container, not just the pod as a whole.
  • The backend API and log fetching logic were updated to now only support container-specific log retrieval.

Screenshots

Before:
before

After:
after

Potential rework

I'm not sure about the UI. It's functional, but it's a breaking change. I'm no UI/UX expert, so feel free to suggest another approach.


Closes #150.

@Ghostbird
Ghostbird force-pushed the container-specific-logs branch from bfd2b64 to 4c6fa8f Compare July 2, 2026 13:34
Ghostbird added 2 commits July 6, 2026 12:17
Signed-off-by: Gijsbert ter Horst <gijsbert.terhorst@intar.nl>
Signed-off-by: Gijsbert ter Horst <gijsbert.terhorst@intar.nl>
@Ghostbird
Ghostbird force-pushed the container-specific-logs branch from 4c6fa8f to 14196d5 Compare July 6, 2026 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to get pod logs

1 participant