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

feat: tee node logs to pod logs #57

Merged
merged 2 commits into from
Oct 20, 2023
Merged

Conversation

carlmontanari
Copy link
Contributor

title. also writes them to node.log via the multi writer. does this for all containers on the pod -- that way if there is some setup w/ multiple containers we get all logs.

@carlmontanari carlmontanari marked this pull request as ready for review October 19, 2023 17:04
containerlabLogger claberneteslogging.Instance
nodeLogger claberneteslogging.Instance

containerIDs []string
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder, when are we having >1 container in a launcher pod?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

literally no idea :P but figured if/when that happens we'd want to care about them all. obviously we can easily just watch a single id at some point too!

@carlmontanari carlmontanari merged commit e82aad1 into main Oct 20, 2023
4 checks passed
@carlmontanari carlmontanari deleted the feat/tail-nos-container-logs branch October 20, 2023 15:07
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

Successfully merging this pull request may close these issues.

2 participants