-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
CoreOS logrotate #2710
Comments
I read the Git blame and the code, all container-centric distros don't get logrotate installed. I would assume the intention is to keep deployments on these distros as light as possible in concordance with the distros' design ethos. @justinsb, you implemented logrotate for kops, could you confirm my suspicion? |
@WillemMali Thanks for the response, altought I just checked one of our base CoreOS v1353 nodes and there is a logrotate systemd service installed. kops 1.5.3 had logrotate configs at |
@adrianchifor what should we be doing? Was it getting installed in the past? Was it in the base image in the past? You are the user and know more than I do about CoreOS thank I do :) |
@chrislovecnm As far as I can remember, CoreOS has always had logrotate as a systemd service. We had kops 1.5.3 on our k8s clusters recently and the Instead of checking the OS distribution if we need to apply the logrotate configs, we should check if logrotate is installed (check systemd or check if the binary exists at |
Automatic merge from submit-queue. Enable logrotate for Kubernetes configs on CoreOS Addresses #2710. Also, remove logrotate crontab because logrotate ships with a systemd timer, `logrotate.timer`, to run logrotate daily.
Automatic merge from submit-queue. Replace logrotate crontab with systemd timer Related to #2710, minor improvement mentioned in #3488 (comment). This change replaces the logrotate crontab with a systemd timer. Any existing systemd timer for logrotate will be overridden.
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
/close |
Was just wondering why logrotate configs are not installed on CoreOS? Source:
kops/nodeup/pkg/model/logrotate.go
Line 38 in fea4df5
The text was updated successfully, but these errors were encountered: