# How to install plugin in elasticsearch-2 cluster?

**URL:** <https://forums.suse.com/t/how-to-install-plugin-in-elasticsearch-2-cluster/3746>\
**Category:** Rancher 1.x\
**Created:** [August 20, 2016, 2:55am UTC](https://forums.suse.com/t/how-to-install-plugin-in-elasticsearch-2-cluster/3746 "2016-08-20T02:55:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![biterika](https://avatars.discourse-cdn.com/v4/letter/b/2acd7d/32.png) [@biterika](https://forums.suse.com/u/biterika)\
**Post date:** [August 20, 2016, 2:55am UTC](https://forums.suse.com/t/how-to-install-plugin-in-elasticsearch-2-cluster/3746/1 "2016-08-20T02:55:34Z")

</div>

How to install plugins on the cluster elastichsearch\_2 from Cattle catalog? I’m interested in plugin for snapshots s3.

If i install it in datanode by command bin install, when i scale node plugins not sync

---

<div class="post-metadata">

**Author:** ![biterika](https://avatars.discourse-cdn.com/v4/letter/b/2acd7d/32.png) [@biterika](https://forums.suse.com/u/biterika)\
**Post date:** [August 31, 2016, 7:00am UTC](https://forums.suse.com/t/how-to-install-plugin-in-elasticsearch-2-cluster/3746/2 "2016-08-31T07:00:00Z")

</div>

Is an any body can help!

PLEASE! i spend 2 weeks!

---

<div class="post-metadata">

**Author:** ![thebennos](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/thebennos/32/2069_2.png) [@thebennos](https://forums.suse.com/u/thebennos)\
**Post date:** [January 20, 2017, 3:50pm UTC](https://forums.suse.com/t/how-to-install-plugin-in-elasticsearch-2-cluster/3746/3 "2017-01-20T15:50:38Z")

</div>

Same problem.  
I looked at it and I think you need to create your own elasticsearch-conf image.

the config is here

> **[rancher/catalog-dockerfiles](https://github.com/rancher/catalog-dockerfiles/tree/master/elasticsearch/containers)**
>
> catalog-dockerfiles - Dockerfiles for Rancher Catalog containers

pretty unsure how to build it,because it is build with confd. never used until yet.  
Look like there is an easy way to install plugins over listing in a txt file and it get’s automatically installed.

---

<div class="post-metadata">

**Author:** ![thebennos](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/thebennos/32/2069_2.png) [@thebennos](https://forums.suse.com/u/thebennos)\
**Post date:** [January 21, 2017, 12:24pm UTC](https://forums.suse.com/t/how-to-install-plugin-in-elasticsearch-2-cluster/3746/4 "2017-01-21T12:24:27Z")

</div>

sorry was wrong.

in the docker compose file, you can change  
image: elasticsearch:2.2.2.  
to a newer version or you build your own image and replace it in the compose file.

---

<div class="post-metadata">

**Author:** ![thebennos](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/thebennos/32/2069_2.png) [@thebennos](https://forums.suse.com/u/thebennos)\
**Post date:** [January 31, 2017, 2:47pm UTC](https://forums.suse.com/t/how-to-install-plugin-in-elasticsearch-2-cluster/3746/5 "2017-01-31T14:47:37Z")

</div>

just additional,  
I have created my own image with some plugins and the two web UI (HQ and kopf),

changed the image in the compose file and it works.

there is thing I discoverd, that you can not attach your own elasticsearch.yml (config file), the elasticsearch config is automatically created from the elasticsearch-conf image with the metadata from the rancher api.
