Commit Graph

22 Commits

Author SHA1 Message Date
David Pilato a181b711f2 Fix typo 2014-03-26 20:38:37 +01:00
David Pilato 3643233670 Update to elasticsearch master 2014-03-26 20:25:28 +01:00
David Pilato c5a03cb448 Create branches according to elasticsearch versions
We create branches:

* es-0.90 for elasticsearch 0.90
* es-1.0 for elasticsearch 1.0
* es-1.1 for elasticsearch 1.1
* master for elasticsearch master

We also check that before releasing we don't have a dependency to an elasticsearch SNAPSHOT version.

Add links to each version in documentation
(cherry picked from commit a51926c)
2014-03-26 19:58:45 +01:00
David Pilato cbca1c4838 prepare for next development iteration 2014-03-12 12:19:17 +01:00
David Pilato cba743df3f prepare release elasticsearch-cloud-gce-2.0.0 2014-03-12 12:14:09 +01:00
David Pilato 91bc7f8aff Add plugin release semi-automatic script
Closes #13.
2014-03-11 17:39:10 +01:00
David Pilato 7fa9d94319 Update with 1.2.0 release 2014-01-29 11:46:42 +01:00
David Pilato 4f11862cce Update to GCE API 1.17.0-rc
Seen in #9, Google changed its APIs. We need to update as it previous version causes a `404` error.

Closes #12.
Closes #9.
2014-01-29 11:21:45 +01:00
David Pilato b2247c977a prepare release elasticsearch-cloud-gce-2.0.0.RC1 2014-01-15 19:07:03 +01:00
David Pilato cc786941f4 update headers 2014-01-13 14:57:16 +01:00
David Pilato 866880e26d Move version table to markdown format 2013-08-10 18:43:13 +02:00
David Pilato 1930c09eb2 prepare release elasticsearch-cloud-gce-1.1.0 2013-08-09 10:00:44 +02:00
David Pilato 27521f61f3 Fix version number in `plugin -install` command 2013-07-23 13:41:48 +02:00
David Pilato e0a99df201 prepare release elasticsearch-cloud-gce-1.0.0 2013-07-23 13:17:44 +02:00
David Pilato 6c0cc5f678 Make documentation more readable 2013-07-08 22:44:18 +02:00
David Pilato aaa4768131 Add support for metadata `es_port`. If you run on a specific port, it will indicate it to GCE plugin. By default, `9300` will be used. 2013-07-08 15:44:24 +02:00
David Pilato 1602d82186 Move all discovery process to GceUnicastHostsProvider
We want to be able to rebuild the full list of existing nodes each time we need it so we don't want to have a fixed list of nodes.
2013-07-01 17:56:41 +02:00
David Pilato db86c13a4e Update documentation.
Thanks to @spinscale
2013-06-28 16:29:40 +02:00
David Pilato e734028ae2 Google service account name is not required 2013-06-28 16:27:13 +02:00
David Pilato e3b08e3481 Update documentation.
Thanks to @spinscale
2013-06-28 16:25:19 +02:00
David Pilato 703c2b3e82 Filtering by tags
-----------------

The GCE discovery can also filter machines to include in the cluster based on tags using `discovery.gce.tags` settings.
For example, setting `discovery.gce.tags` to `dev` will only filter instances having a tag set to `dev`. Several tags
set will require all of those tags to be set for the instance to be included.

One practical use for tag filtering is when an GCE cluster contains many nodes that are not running
elasticsearch. In this case (particularly with high ping_timeout values) there is a risk that a new node's discovery
phase will end before it has found the cluster (which will result in it declaring itself master of a new cluster
with the same name - highly undesirable). Adding tag on elasticsearch GCE nodes and then filtering by that
tag will resolve this issue.

Add your tag when building the new instance:

```sh
gcutil --project=es-cloud addinstance myesnode1 --service_account_scope=compute-rw --persistent_boot_disk \
       --tags=elasticsearch,dev
```

Then, define it in `elasticsearch.yml`:

```yaml
  cloud:
      gce:
          project_id: es-cloud
          zone: europe-west1-a
  discovery:
          type: gce
          gce:
                tags: elasticsearch, dev
```
Closes #2.
2013-06-28 15:44:52 +02:00
David Pilato 5e14147991 Add cloud discovery for google compute engine
Google Compute Engine VM discovery allows to use the google APIs to perform automatic discovery (similar to multicast in non hostile
multicast environments). Here is a simple sample configuration:

```yaml
  cloud:
      gce:
          project_id: <your-google-project-id>
          zone: <your-zone>
  discovery:
          type: gce
```

How to start (short story)
--------------------------

* Create Google Compute Engine instance
* Install Elasticsearch
* Install Google Compute Engine Cloud plugin
* Modify `elasticsearch.yml` file
* Start Elasticsearch

Closes #1.
2013-06-28 09:45:02 +02:00