GithubHelp home page GithubHelp logo

gui66497 / docker-curator-cron Goto Github PK

View Code? Open in Web Editor NEW

This project forked from traum-ferienwohnungen/docker-curator-cron

0.0 1.0 0.0 19 KB

Elasticsearch Curator CRON daily task Docker image

Dockerfile 47.42% Shell 52.58%

docker-curator-cron's Introduction

Curator CRON task in Docker

Dockerized version of Elasticsearch Curator run as CRON daily task. Useful for production, maintanence-free, deployment to manage time-based indices.

Docker Pulls

Compatibility Matrix

Version/Branch ES 1.x AWS ES 1.x ES 2.x AWS ES 2.x ES 5.x AWS ES 5.x ES 6.x
3.x yes yes* yes yes* no no no
4.x no no yes no yes no no
5.x no no no no yes yes* no
5.4 no no no no yes yes* yes
5.5 no no no no yes yes* yes

* It appears that AWS ES does not allow access to the snapshot status endpoint for either 1.x or 2.x versions. This prevents Curator 3 from being used to make snapshots.

Why this image

This image allows you to deploy scheduled Curator task as Docker container in fraction of second. There are couple of good images that run the command just once. But if you use infrastructure like AWS ECS, Kubernetes and similar, you may want to start one container that runs as a service and keeps your Elasticsearch indices tidy.

Usage

Image entrypoint is set to curator script wrapper, that creates daily CRON task and starts crond. Use transparently as you would run curator command directly:

You have to provide your curator job settings in a action file. Samples can be found here https://www.elastic.co/guide/en/elasticsearch/client/curator/current/actionfile.html

docker run --rm traumfewo/docker-curator-cron:5.5 /root/.curator/deleteIndecies.yml

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.