-
-
Notifications
You must be signed in to change notification settings - Fork 291
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
kubetail returns blank logs even when kubectl logs works OK #122
Comments
Thanks for the issue. I don't have centos myself so it's really hard for me to debug this :/ I would gladly accept a PR (given that it doesn't break stuff for everyone else of course :)) but I'm not sure I can personally do anything about it at this moment. I have MacOSX and some of my colleagues have Ubuntu at it works well for all of us. |
I'm hitting the same problem on MacOS it just hangs and does not show anything |
Are you piping to something?
…Sent from my phone
tors 22 feb. 2024 kl. 17:11 skrev Gergan Penkov ***@***.***>:
I'm hitting the same problem on MacOS it just hangs and does not show
anything
—
Reply to this email directly, view it on GitHub
<#122 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABNVFO252RQFWZJX7AXNADYU5UZJAVCNFSM46F6ZALKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJVHE3TOOBWGM4A>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
No, I wanted to but it shows only the pod names and after that it just sits there. I have now search for other tools and have installed stern, this one works - so I don't know what the problem could be. Using iTerm and zsh so pretty normal MacOS configuration |
Hmm okay. Could you do me a favor and try the very latest (unreleased)
version? I.e. just copy and paste everything from the kubetail file on
github to your machine. Then run your kubetail command but add "-b false"
and see if that makes a difference?
…Sent from my phone
tors 22 feb. 2024 kl. 18:33 skrev Gergan Penkov ***@***.***>:
No, I wanted to but it shows only the pod names and after that it just
sits there. I have now search for other tools and have installed stern,
this one works - so I don't know what the problem could be. Using iTerm and
zsh so pretty normal MacOS configuration
—
Reply to this email directly, view it on GitHub
<#122 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABNVFOHYSHNPGJRDIYPAA3YU56QLAVCNFSM46F6ZALKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJVHE4TGNBUGI4A>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
sorry for the late response - yes the last version on the main branch worked out of the box |
@gergan Thanks for your input. Just to be clear, it worked out of the box when you added "-b false" right? I'm thinking about whether to make this default to avoid confusion.. But I'm not sure what impact it'll have to disable buffering by default. |
No, I mean really out of the box - I don't know what has changed, but it worked without any additional flags |
@gergan Oh okay, interesting. I should make a new release then :) |
Versions
os:
CentOS 7
kubectl
kubetail:
1.6.13
Issue
Need some advice on diagnosing.
kubectl logs <pod_name>
seems to work okay.However
kubetail
does not return any logs (though it does discover the pods). Same result for specifying just 1 pod. The buffer seems empty and when I hit ENTER it acts like stdout is hung and returns a line.The text was updated successfully, but these errors were encountered: