mirror of
https://github.com/swisscom/cf-curator-cron.git
synced 2026-12-04 11:49:02 +00:00
Run the Elastic Curator periodically using the python buildpack and supercronic | Read-only mirror of https://github.com/swisscom/cf-curator-cron — Swisscom. Issues & pull requests at the source.
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| actions.yml | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| crontab | ||
| curator.yml | ||
| LICENSE | ||
| manifest.yml | ||
| README.md | ||
| requirements.txt | ||
| supercronic | ||
cf-curator-cron
Workaround to get curator running in CF after deprecating https://github.com/swisscom/logstash-buildpack, cronjob based on https://github.com/aptible/supercronic.
This will be replaced by Index Lifecycle Management in current ElasticSearch versions (https://www.elastic.co/guide/en/elasticsearch/reference/current/getting-started-index-lifecycle-management.html)
Usage
Modify following files before pushing your curator:
actions.yml: Configure the names of your indices and their retention.curator.yml: Replace elasticsearch host and username/passwordcrontab: You should use the --dry-run line before you configure your curator for production.
Instructions
To push to CF, simply execute cf push cf-curator-cron