You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.
I can confirm that unicast_hosts.txt can be updated without restarting the pod. Here are the steps I took:
In __init__(), configure the starting self._stored.nodes to only have one hostname, rather than SEED_SIZE. [1]
Remove the unicast_hosts.txt string from _config_hash() so pod restarts aren't triggered by changes to the file. [2]
Add a unit to the cluster and _on_elasticsearch_unit_joined() will add a new hostname to self._stored.nodes.
kubectl exec -n lma <leader-pod> -- cat /usr/share/elasticsearch/config/unicast_hosts.txt and see that the new host has been added to the file without the pod resetting.
One thing to be aware of is that unicast_hosts.txt is only updated in the leader pod and new pods.
Is it possible to have unicast_hosts.txt updated without restarting the pod.
The text was updated successfully, but these errors were encountered: