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

Bug 1851492: [release-4.5] clusterconfig.go: limit the size of collected logs #128

Commits on Aug 6, 2020

  1. clusterconfig.go: limit the size of collected logs

    This commit ensures clusterconfig won't collect large logs.
    GatherClusterOperators would use maximum available compressed tarball
    size (set in `diskrecorder`), multiply it by `logCompressionRatio`
    (set to 2 initially) and split this budget between unhealthy pods.
    `collectContainerLogs` would limit the amount of fetched bytes so
    that log lines would not exceed container log budget.
    vrutkovs committed Aug 6, 2020
    Copy the full SHA
    6deebfd View commit details
    Browse the repository at this point in the history