-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Unable to deploy Elasticsearch 8 with helm as single node #1759
Comments
I figured it out: values:
roles: []
extraEnvs:
- name: discovery.type
value: single-node
- name: node.roles
value: master,data,data_content,data_hot,data_warm,data_cold,ingest,ml,remote_cluster_client,transform |
@dpfaffenbauer Thanks! This seems to work. I'll try it our for some time and close this issue if I don't encounter any problems. |
@dpfaffenbauer Unfortunately after a restart it didn't work anymore. I have the following warning message: This node is a fully-formed single-node cluster with cluster UUID [uK64OL3nSTyOiW9wPZWBPQ], but it is configured as if to discover other nodes and form a multi-node cluster via the [discovery.seed_hosts=[elasticsearch-master-headless]] setting. Fully-formed clusters do not attempt to discover other nodes, and nodes with different cluster UUIDs cannot belong to the same cluster. The cluster UUID persists across restarts and can only be changed by deleting the contents of the node's data path(s). |
@robertvanloenhout Haven't had that issue yet, will try to fix it once I get it. |
Any update on this? |
We had the issue too now, I manually patched the statefulset to fix it. |
@dpfaffenbauer how did you work on the fixes? i have similar issues with elastic search 8.7 |
same issue |
I'd like to deploy Elasticsearch 8.5.1 using helm and only use a single node to reduce memory usage on minikube.
This issue is similar to #312, but I'll summarize it here because that issue is closed
because originally it was not an issue regarding Elasticsearch 8.
The deployment is on minikube 1.28.0 with helm 3.8.2
When I set replicas to 1 then elasticsearch pod will produce these warning messages and never become operational:
We can set discovery type to single-node by adding it to the values file
We can do that like this:
Or we can do it like this:
This produces the following error:
We can try setting the initial master nodes it to empty like this:
This still produce the following error:
We can also try it like this:
This will produce this error:
We can try setting the initial master nodes to null like this:
or like this:
Either way the elasticsearch pod will faill immediately with the following error:
The text was updated successfully, but these errors were encountered: