Sign inSign up

applicaster/aws-es-curator

By applicaster

•Updated about 6 years ago

Image
0

452

applicaster/aws-es-curator repository overview

⁠aws-es-curator

⁠AWS Docker Elasticsearch Index Cleanup

This docker base on AWS guidelines: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/curator.html⁠

⁠Overview

This method does not work well with kube2iam So I use AWS_user credentials

⁠Getting Started

  • create aws-user using "es_policy.json"
  • create cronjob using this container that run once a day (0 1 * * *)
⁠Cronjob configuration environment varible parameters

Using AWS environment variable you can easily modify the behaviour of the Cronjob

Variable NameExample ValueDescriptionDefault ValueRequired
es_endpointsearch-es-demo-zveqnhnhjqm5flntemgmx5iuya.eu-west-1.es.amazonaws.comAWS ES fqdnNoneTrue
index_format%Y.%m.%dCombined with index varible is used to evaluate the index age%Y.%m.%dFalse
delete_after7Numbers of days to preserve15False

Tag summary

Content type

Image

Digest

Size

350.8 MB

Last updated

about 6 years ago

docker pull applicaster/aws-es-curator