mirror of https://github.com/easzlab/kubeasz.git
update easzlab/es-index-rotator:0.2.1
parent
aa76da0f2e
commit
779712e2d0
|
@ -12,11 +12,12 @@ spec:
|
|||
spec:
|
||||
containers:
|
||||
- name: es-index-rotator
|
||||
image: easzlab/es-index-rotator:0.1.3
|
||||
# 保留最近30天日志
|
||||
image: easzlab/es-index-rotator:0.2.1
|
||||
# 保留最近10天日志
|
||||
command:
|
||||
- /bin/rotate.sh
|
||||
- "30"
|
||||
- "10"
|
||||
- "logstash" # fluented 默认创建的index形如'logstash-2020.01.01'
|
||||
restartPolicy: OnFailure
|
||||
concurrencyPolicy: Forbid
|
||||
successfulJobsHistoryLimit: 2
|
||||
|
|
Loading…
Reference in New Issue