From 4b0c7c730892fa7471727de257d387cd4cb0b133 Mon Sep 17 00:00:00 2001 From: Paulo Pires Date: Thu, 14 Jun 2018 13:27:57 +0100 Subject: [PATCH] Forcibly disable x-pack ml plug-in Signed-off-by: Paulo Pires --- README.md | 2 ++ config/elasticsearch.yml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/README.md b/README.md index 78e6b34..0c28d2a 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,8 @@ Ready to use, lean Elasticsearch Docker image ready for using within a Kubernete * OpenJDK JRE 8u151 * Elasticsearch 6.3.0 +**Note:** `x-pack-ml` module is forcibly disabled as it's not supported on Alpine Linux. + ## Run See [pires/kubernetes-elasticsearch-cluster](https://github.com/pires/kubernetes-elasticsearch-cluster) for instructions on how to run, scale and use Elasticsearch on Kubernetes. diff --git a/config/elasticsearch.yml b/config/elasticsearch.yml index bcd808a..b15d4fc 100644 --- a/config/elasticsearch.yml +++ b/config/elasticsearch.yml @@ -6,6 +6,7 @@ node: data: ${NODE_DATA} name: ${NODE_NAME} ingest: ${NODE_INGEST} + ml: false max_local_storage_nodes: ${MAX_LOCAL_STORAGE_NODES} processors: ${PROCESSORS:1} @@ -31,3 +32,5 @@ discovery: zen: ping.unicast.hosts: ${DISCOVERY_SERVICE} minimum_master_nodes: ${NUMBER_OF_MASTERS} + +xpack.ml.enabled: false