Elastic Curator: Add basic action overrides for deployment jobs
This adds configuration overrides for a very basic Curator action that should effectively be a no-op. This is to address periodic failures seen in the osh-infra-aio-logging job that appear when the run times coincide with Elastic Curator's cron schedule (every six hours). This ensures curator actions are defined in cases where this occurs Change-Id: Ia2255ada2f32f21888bd4ca96df88496720fd0a5
This commit is contained in:
parent
d992de6245
commit
588acdbf8c
@ -31,6 +31,29 @@ conf:
|
|||||||
java_opts: "-Xms512m -Xmx512m"
|
java_opts: "-Xms512m -Xmx512m"
|
||||||
snapshots:
|
snapshots:
|
||||||
enabled: true
|
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:
|
monitoring:
|
||||||
prometheus:
|
prometheus:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
@ -28,6 +28,31 @@ pod:
|
|||||||
replicas:
|
replicas:
|
||||||
data: 1
|
data: 1
|
||||||
master: 2
|
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:
|
manifests:
|
||||||
network_policy: true
|
network_policy: true
|
||||||
network_policy:
|
network_policy:
|
||||||
|
@ -32,6 +32,29 @@ conf:
|
|||||||
elasticsearch:
|
elasticsearch:
|
||||||
snapshots:
|
snapshots:
|
||||||
enabled: true
|
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
|
EOF
|
||||||
helm upgrade --install elasticsearch ./elasticsearch \
|
helm upgrade --install elasticsearch ./elasticsearch \
|
||||||
|
Loading…
Reference in New Issue
Block a user