Elasticsearch cluster on Kubernetes, with all the bells and whistles.
Shell
Pull request Compare This branch is 18 commits ahead, 10 commits behind pires:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE Initial commit Jan 29, 2015
README.md Updated with mentions of start and stop scripts Oct 10, 2016
es-client.yaml Added comment about replacing ES image if desired Oct 17, 2016
es-data.yaml
es-discovery-svc.yaml Useful customizations Sep 7, 2016
es-master.yaml Added comment about replacing ES image if desired Oct 17, 2016
es-svc.yaml Useful customizations Sep 7, 2016
start-es.sh Moved all the deployment creation commands to the top Oct 17, 2016
stop-es.sh

README.md

kubernetes-elasticsearch-cluster

The Kubernetes service and deployment files in this repo, which are derived from pires/kunernetes-elasticsearch-cluster, handle all the environment variables exposed by the pires/docker-elasticsearch-kubernetes image. I've also added cluster start up and stop scripts to make testing easier.

For instructions on how to create an Elasticsearch cluster on Kubernetes using this repo, you can read my blog: Running Elasticsearch on Kubernetes.

Environment Variables

Start and Stop Cluster

You can start the cluster with the start_es.sh and stop the clusters with stop_es.sh. The current start script create s client nodes, 4 data nodes, and 3 master nodes. Leave the number master nodes alone, 3 is what you want for high availability, but you can increase the number of client and data nodes as necessary.