Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

View logs of all pods of a given deployment #2225

Closed
pre opened this issue Sep 20, 2023 · 2 comments
Closed

View logs of all pods of a given deployment #2225

pre opened this issue Sep 20, 2023 · 2 comments

Comments

@pre
Copy link

pre commented Sep 20, 2023

It would be useful to see the logs of all Pods of a given Deployment.

Kubectl allows tailing logs by label, eg kubectl logs -l app.kubernetes.io/name=my-app.
With k9s you can only view logs of a single Pod.

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like

In the same way you can view logs of AllContainers of a single pod, you could view logs of All Pods of a given Deployment (or StatefulSet, or DaemonSet). Then you could also have the option of AllContainers or -c my-container.

@pre
Copy link
Author

pre commented Sep 20, 2023

User error - Find the deployment and press l

@pre pre closed this as completed Sep 20, 2023
@RazaGR
Copy link

RazaGR commented Feb 9, 2024

This shouldn't be closed, l only display previous logs list but doesn't follows with new logs

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

No branches or pull requests

2 participants