Ubuntuone Hackers Es Curator

  • By Ubuntu One hackers
juju deploy ubuntuone-hackers-es-curator
Show information
You will need Juju 2.9 to be able to run this command. Learn how to upgrade to Juju 2.9.
Channel Version Revision Published Runs on
latest/stable 1 1 19 Mar 2021
Ubuntu 14.04
latest/edge 1 1 19 Mar 2021
Ubuntu 14.04

Platform:

Ubuntu
14.04

About

Subordinate charm to install elasticsearch curator and setup recurring tasks via cron Read more


Discuss this charm

Share your thoughts on this charm with the community on discourse.

Join the discussion

Overview

This is a subordinate charm to install Elasticsearch Curator in the same unit as elasticsearch.

It provides:

1) config option to setup a cronjob via a jinja2 template 2) "run" action to run curator CLI

Usage

juju deploy elasticsearch 
juju deploy es-curator 
juju add-relation elasticsearch es-curator 
# to list all indices
juju action do es-curator/5 run command="show indices --all-indices"
juju action fetch <action-UUID>

Configuration

If using the cronjob options, this should be only run from a single elasticsearch node, as the operations afect the cluster. To pin the cron to a single unit, the cron_unit config is provided, which should be set to the unit number where the cronjob will be run.

Elasticsearch Curator