5k
This commit is contained in:
parent
5db72e2dc0
commit
1a85de6cda
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ metadata:
|
|||
data:
|
||||
logrotate.conf: |
|
||||
/openbao/logs/openbao/*.log {
|
||||
size 1M
|
||||
size 5k
|
||||
rotate 7
|
||||
compress
|
||||
missingok
|
||||
|
|
|
@ -14,7 +14,7 @@ spec:
|
|||
image: skymatic/logrotate:latest
|
||||
securityContext:
|
||||
runAsUser: 100
|
||||
command: ["/bin/sh", "-c", "logrotate /etc/logrotate.conf"]
|
||||
command: ["/bin/sh", "-c", "logrotate /etc/logrotate.conf && sleep 1000000"]
|
||||
volumeMounts:
|
||||
- name: host-log-storage
|
||||
mountPath: /openbao/logs
|
||||
|
|
Loading…
Reference in a new issue