pires / kubernetes-elasticsearch-cluster

Elasticsearch cluster on top of Kubernetes made easy.
Apache License 2.0
1.51k stars 687 forks source link

stop curator from going into crashloopbackoff due to empty indicie list #155

Closed brucemartins closed 6 years ago

brucemartins commented 6 years ago

I have noticed that with the current config of 3 days, in an initial setup you will get two conjobs failing because of an empty list, this should fix that by ignoring an empty list being returned, in the case of there not being indicies older than 3 days.

Log Message below

"ERROR Unable to complete action "delete_indices". No actionable items in list: <class 'curator.exceptions.NoIndices'>"