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

logrotate: set file size limit to 100M #4271

Merged
merged 1 commit into from
Jul 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dist/images/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ FROM kubeovn/kube-ovn-base:$BASE_TAG
COPY *.sh /kube-ovn/
COPY kubectl-ko /kube-ovn/kubectl-ko
COPY 01-kube-ovn.conflist /kube-ovn/01-kube-ovn.conflist
COPY logrotate/* /etc/logrotate.d/
COPY --chmod=0644 logrotate/* /etc/logrotate.d/
COPY grace_stop_ovn_controller /usr/share/ovn/scripts/grace_stop_ovn_controller

WORKDIR /kube-ovn
Expand Down
1 change: 1 addition & 0 deletions dist/images/logrotate/kubeovn
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
daily
copytruncate
rotate 7
size 100M
compress
sharedscripts
missingok
Expand Down
1 change: 1 addition & 0 deletions dist/images/logrotate/openvswitch
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
/var/log/openvswitch/*.log {
daily
rotate 7
size 100M
compress
sharedscripts
missingok
Expand Down
1 change: 1 addition & 0 deletions dist/images/logrotate/ovn
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
/var/log/ovn/*.log {
daily
rotate 7
size 100M
compress
sharedscripts
missingok
Expand Down
Loading