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

feature request: "kubectl logs" #11

Closed
mozai opened this issue Jan 22, 2020 · 6 comments · Fixed by #16
Closed

feature request: "kubectl logs" #11

mozai opened this issue Jan 22, 2020 · 6 comments · Fixed by #16
Labels
enhancement New feature or request

Comments

@mozai
Copy link

mozai commented Jan 22, 2020

The readme file mentions "The details view of your workloads contains all the necessary logs and events..." How do I summon the logs for a container in a pod? I expected it to be offered in the per-pod details.

The option to view the previous log (kubectl logs -p) would be very helpful when dealing with a pod stuck in a restart loop.

@mozai
Copy link
Author

mozai commented Jan 22, 2020

Forgot to mention: I'm using kubenav-1.1.0-linux-amd64.AppImage

@ricoberger
Copy link
Member

Hi, thanks for your request. To view the logs of a container you can swipe left on the name of a container in the pod details view. On desktop you need click and hold the left mouse key and swipe left. Currently this is not that clear, maybe I add a button for this next to each container for better access to the logs on desktop.

IMG_1309

The previous logs are not available for now. I will look deeper into this for the next release. Besides that I also want to add a configuration option to only load the last x log lines, because on mobile it's very slow to load 10000+ log lines.

@ricoberger ricoberger added the enhancement New feature or request label Jan 22, 2020
@ricoberger
Copy link
Member

If you want, you can take a look at #16.

@donbeave
Copy link

Is it not released yet for iOS? I’m using 1.2.0 version, but can not see this “Logs” new button in containers block.

@ricoberger
Copy link
Member

Hi @donbeave. For iOS and Android the button will become visible, when you swipe the container name to the left.

IMG_1344

Then a modal with the logs is shown. In the upper right corner you have the options to load all log lines (by default only the last 1000 lines are loaded) or to load the logs from the previous container.

IMG_1345

@donbeave
Copy link

@ricoberger Thank you! Found it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants