update easzlab/es-index-rotator:0.2.1

pull/801/head
gjmzj 2020-01-09 15:35:17 +00:00
parent aa76da0f2e
commit 779712e2d0
1 changed files with 4 additions and 3 deletions

View File

@ -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