This program for batch processing to clean up ElasticSearch indexes. curator is executed on a regular basis. It was created with the assumption that CronJob is not available in Kubernetes, and uses Deployment to perform periodic execution in the process.
Usage
Local
go run main.go
Docker
docker build -o es-curator .
docker run -it --rm es-curator