-
Notifications
You must be signed in to change notification settings - Fork 40
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
Adding the pod logs #49
Comments
For the
I would also be a bit hesitant on querying the container through the API as the pod may be an unknown state given that the process has SIG'ed. This is coupled with #47 (comment) makes me think they may be better with a post processor but I'm open to keep discussing options. |
Moved the |
Initial implementation here de95956 |
Moving this to done but keeping this open to confirm discussion on log tail approach. |
I think the tailing is good enough already. Thanks so much for your work @No9 :) |
Great - I have an initial cut of the tail feature on this branch - https://github.com/IBM/core-dump-handler/tree/pod-logs |
just tested this again with OpenShift 4.9 on AWS. It works like a charm :) Thanks a lot once more, @No9.
do you want to create a PR maybe? happy to review it through there |
(yet another follow-up to the conversations that triggered #44 + #47 + #48 - last one for now)
Our customer would like to correlate pod logs, this is potentially easy done in OpenShift as you can take the pod info from the dump and search in the logging system. However, because our customer is a vendor the cluster logging system might not be accessed by the respective tenants very easily.
Another "easy" solution would be to include the pod log (up until the crash) into the zip file. My naive thought would include a simply
cp
from the configured log directory on the host. Alternatively this could be done withkubectl log
going through the API server.What's your take on the story?
The text was updated successfully, but these errors were encountered: