elasticsearchelastic-cloud

Disable node discovery in a single node cluster on Elasticsearch managed cloud


I am using a dedicated single-node cluster for monitoring and logs on Elasticsearch managed cloud.

For this cluster, I keep getting warning logs indicating I should disable node discovery since I am using a single-node cluster.

How can this be done? Remember, this is Elasticsearch managed cloud so I cannot edit configuration files directly.

Full warning log:

This node is a fully-formed single-node cluster with cluster UUID [*******************], but it is configured as if to discover other nodes and form a multi-node cluster via the [discovery.seed_hosts=[<some IP>:<some port>]] 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). Remove the discovery configuration to suppress this message.


Solution

  • The solution was to restart the whole deployment (with downtime). After that, the discovery setting was setup correctly for single node, single zone deployment.