Hello,
I have one single node Elasticsearch cluster that was working for months.
yesterday I have restarted the virtual server and after that it has problems.
now I have redeployed again the kubernetes configuration and got an error.
java.lang.IllegalArgumentException: node with [discovery.type] set to [single-node] must be master-eligible
this is part of the configuration:
containers:
- image: elasticsearch:7.13.4
env:
- name: discovery.type
value: single-node
- name: cluster.initial_master_nodes
value: null
configmap:
data:
elasticsearch.yml: |-
cluster.name: "docker-cluster"
network.host: 0.0.0.0
discovery.type: single-node
node.roles: ingest
xpack.security.enabled: true
xpack.monitoring.collection.enabled: true
xpack.monitoring.exporters.my_local:
type: local
use_ingest: false
I will be happy if you can help me with this
thank you !