-
-
Notifications
You must be signed in to change notification settings - Fork 289
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
Add watch support for new pods matching a criteria #33
Comments
This is something I've wanted to do for a while and I have a (previously local) branch (but I've now pushed it remotely as well to a branch name "pipes") where I'm experimenting with it using named pipes. The problem is that when I use these pipes I cannot get the background |
A little up for this issue? Some news about it? |
@davinkevin Unfortunately things haven't improved. I'd love to get some help though. |
First off, thank you for making kubetail! It's awesome. I kinda expected a "--watch" feature to be there as in my use case I use kubetail to have a terminal with all logs from a pod in our cluster (super useful for maintenance and monitoring tasks). So due to CI/CD pushing new versions of my code to the cluster, it causes k8s to kill/spawn new pods and those are not included in the log output - so I have to ctrl-c out of kubetail, wait until the new pods are ready/running and then attach again. That can be a little bit cumbersome. If I'm too fast, I even get errors that pods are initializing and while kubetail runs it sometimes "overwrites" the terminal UI with error messages in the top-left corner about missing containers. |
@bastibense There was actually an awesome pull request that implemented support for this. Unfortunately it broke some existing functionality so I haven't merged it in yet. Would be great if we could get this fixed. |
I think "echo hello > /proc/$$/fd/1 &" is a workable solution. See more detail on #67 . |
First of all I just want to thank you for this amazing tool!
I just found it today and it'll definitely stay on my toolbelt.
Any chance there is a way to make it watch for new pods matching the criteria.
In our CD workflow it would be very much in use such a feature
The text was updated successfully, but these errors were encountered: