Add a jitter to logrotate#172
Conversation
Signed-off-by: Robin Schneider <mail@robinschneider.dev>
|
@robinschneider: The label(s) DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/test pull-gardener-integration |
|
I have run these tests locally without any issues |
|
LGTM label has been added. DetailsGit tree hash: 77376d243e21d90cc1d89bb53a2bc175037552cd |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: timebertt The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
How to categorize this PR?
/area logging
/kind enhancement
What this PR does / why we need it:
Currently all nodes run logrotate at
0:00 UTCat the same time, which causes high capacity utilization.With the current configuration, it runs 144 times a day but only rotates the logs at 0:00 UTC, which is pointless.
This PR changes the it in order to run once a day with a jitter of 4 hours.
Which issue(s) this PR fixes:
ref gardener#15149
Special notes for your reviewer:
Release note: