Unit files to deploy an ElasticSearch cluster on CoreOS via Fleet.
Service discovery & registration is done via etcd.
[email protected] provides a dumb discovery service by registering an elasticsearch host if it should be up. [email protected] registers the service only if it is running.
A service & timer unit for elasticsearch curator is provided which does some housekeeping.
First load the necessary units:
$ fleetctl load elasticsearch-data@{1,2,3}.service elasticsearch-discovery@{1,2,3}.service elasticsearch@{1,2,3}.service
then start the first unit:
$ fleetctl start [email protected]
after the unit is up and running start the others:
$ fleetctl start elasticsearch@{2,3}.service