-
Notifications
You must be signed in to change notification settings - Fork 1.7k
refactor log collection #3986
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
refactor log collection #3986
Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: BenTheElder The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
stmcginnis
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
| } | ||
|
|
||
| fns = append(fns, func() error { | ||
| return internallogs.DumpDir(p.logger, node, "/var/log", path) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this being done for all providers at the top level?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this got left behind in the docker provider but not the others, will follow up 😳
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pulled out from https://github.com/kubernetes-sigs/kind/pull/3980/commits
I'm not sure if we should actually dump the metrics on each node or not, and currently I'm pursuing a KEP related to how we'd test metrics which is going to take another route ...
So in the meantime, splitting out the cleanup from the behavior changes.