Merge "Elastic Curator: Add basic action overrides for deployment jobs"

This commit is contained in:
Zuul 2019-03-15 15:19:33 +00:00 committed by Gerrit Code Review
commit 840d8be7d4
3 changed files with 71 additions and 0 deletions

View File

@ -31,6 +31,29 @@ conf:
java_opts: "-Xms512m -Xmx512m"
snapshots:
enabled: true
curator:
schedule: "0 */6 * * *"
action_file:
actions:
1:
action: delete_indices
description: >-
"Delete indices older than 365 days"
options:
timeout_override:
continue_if_exception: False
ignore_empty_list: True
disable_action: True
filters:
- filtertype: pattern
kind: prefix
value: logstash-
- filtertype: age
source: name
direction: older
timestring: '%Y.%m.%d'
unit: days
unit_count: 365
monitoring:
prometheus:
enabled: true

View File

@ -28,6 +28,31 @@ pod:
replicas:
data: 1
master: 2
conf:
elasticsearch:
curator:
schedule: "0 */6 * * *"
action_file:
actions:
1:
action: delete_indices
description: >-
"Delete indices older than 365 days"
options:
timeout_override:
continue_if_exception: False
ignore_empty_list: True
disable_action: True
filters:
- filtertype: pattern
kind: prefix
value: logstash-
- filtertype: age
source: name
direction: older
timestring: '%Y.%m.%d'
unit: days
unit_count: 365
manifests:
network_policy: true
network_policy:

View File

@ -32,6 +32,29 @@ conf:
elasticsearch:
snapshots:
enabled: true
curator:
schedule: "0 */6 * * *"
action_file:
actions:
1:
action: delete_indices
description: >-
"Delete indices older than 365 days"
options:
timeout_override:
continue_if_exception: False
ignore_empty_list: True
disable_action: True
filters:
- filtertype: pattern
kind: prefix
value: logstash-
- filtertype: age
source: name
direction: older
timestring: '%Y.%m.%d'
unit: days
unit_count: 365
EOF
helm upgrade --install elasticsearch ./elasticsearch \