Author Alexander Trost · Read Time 4 minutes · Created Tue May 30 10:51:42 2017 · Updated Mon Nov 12 23:09:15 2018
Table of Contents
I got the inspiration for writing a so called operator for Kubernetes from the CoreOS project prometheus-operator.
So a big thanks to them for creating the project, as also the code is almost completely based on their operator code.
schedule: "1 0 * * *"
# Remember, leave a key empty if there is no value. None will be a string,# not a Python "NoneType"
blacklist: ['elasticsearch', 'urllib3']
# Remember, leave a key empty if there is no value. None will be a string,# not a Python "NoneType"## Also remember that all examples have 'disable_action' set to True. If you# want to use this action as a template, be sure to set this to False after# copying it.
description: "Clean up ES by deleting old indices"
- filtertype: age
If you have any questions about the operator or the usage, feel free to open an issue on GitHub or leave a comment.