/docker-elasticsearch-kubernetes

Ready to use Elasticsearch + Kubernetes discovery plug-in Docker image.

Primary LanguageDockerfileApache License 2.0Apache-2.0

docker-elasticsearch-kubernetes

Ready to use, lean Elasticsearch Docker image ready for using within a Kubernetes cluster.

Docker Repository on Quay.io

Current software

  • Alpine Linux 3.8
  • IcedTea JRE 8u171
  • Elasticsearch 6.4.2

Note: x-pack-ml module is forcibly disabled as it's not supported on Alpine Linux.

Run

See pires/kubernetes-elasticsearch-cluster for instructions on how to run, scale and use Elasticsearch on Kubernetes.

Environment variables

This image can be configured by means of environment variables, that one can set on a Deployment.

Besides the inherited ones, this container image provides the following:

  • DISCOVERY_SERVICE - the service to be queried for through DNS (default = elasticsearch-discovery).
  • MEMORY_LOCK - memory locking control defaults to false as Kubernetes requires swap to be disabled.