Elasticsearch Disable Curator in Gate & Chart Defaults

Since chart v0.1.3 SLM policies have been supported, but we still
run curator in the gate, and its manifest toggles still default to
true

Change-Id: I5d8a29ae78fa4f93cb71bdf6c7d1ab3254c31325
This commit is contained in:
Steven Fitzpatrick 2021-03-11 06:51:37 +00:00
parent 43226de6e3
commit 4fb159f7a3
4 changed files with 5 additions and 71 deletions

View File

@ -15,7 +15,7 @@ apiVersion: v1
appVersion: v7.1.0
description: OpenStack-Helm ElasticSearch
name: elasticsearch
version: 0.1.7
version: 0.1.8
home: https://www.elastic.co/
sources:
- https://github.com/elastic/elasticsearch

View File

@ -966,12 +966,12 @@ storage:
manifests:
configmap_bin_curator: true
configmap_bin_curator: false
configmap_bin_elasticsearch: true
configmap_etc_curator: true
configmap_etc_curator: false
configmap_etc_elasticsearch: true
configmap_etc_templates: true
cron_curator: true
cron_curator: false
cron_verify_repositories: true
deployment_client: true
ingress: true

View File

@ -8,4 +8,5 @@ elasticsearch:
- 0.1.5 Make templates job more generic
- 0.1.6 Fix elasticsearch-master rendering error
- 0.1.7 Pin Java options to specific versions
- 0.1.8 Disable Curator in Gate & Chart Defaults
...

View File

@ -22,8 +22,6 @@ tee /tmp/elasticsearch.yaml << EOF
jobs:
verify_repositories:
cron: "*/3 * * * *"
curator:
cron: "*/10 * * * *"
monitoring:
prometheus:
enabled: true
@ -36,71 +34,6 @@ conf:
elasticsearch:
snapshots:
enabled: true
curator:
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: False
filters:
- filtertype: pattern
kind: prefix
value: logstash-
- filtertype: age
source: name
direction: older
timestring: '%Y.%m.%d'
unit: days
unit_count: 365
2:
action: snapshot
description: >-
"Snapshot all indices older than 365 days"
options:
repository: logstash_snapshots
name: "snapshot-%Y-.%m.%d"
wait_for_completion: True
max_wait: 36000
wait_interval: 30
ignore_empty_list: True
continue_if_exception: False
disable_action: False
filters:
- filtertype: age
source: name
direction: older
timestring: '%Y.%m.%d'
unit: days
unit_count: 365
3:
action: delete_snapshots
description: >-
"Delete index snapshots older than 365 days"
options:
repository: logstash_snapshots
timeout_override: 1200
retry_interval: 120
retry_count: 5
ignore_empty_list: True
continue_if_exception: False
disable_action: False
filters:
- filtertype: pattern
kind: prefix
value: snapshot-
- filtertype: age
source: name
direction: older
timestring: '%Y.%m.%d'
unit: days
unit_count: 365
EOF
: ${OSH_INFRA_EXTRA_HELM_ARGS_ELASTICSEARCH:="$(./tools/deployment/common/get-values-overrides.sh elasticsearch)"}