Versions: OpenSearch 2.8.0 and under.
Hi. I’m trying to setup OpenSearch cluster on Kubernetes.
I use k8s headless service pointing the OpenSearch node pods for
cluster.initial_cluster_manager_nodes but cluster bootstrapping failed with these logs:
[2023-08-22T17:44:13,959][INFO ][o.o.c.c.ClusterBootstrapService] [os-test-cluster-manager-1] skipping cluster bootstrapping as local node does not match bootstrap requirements: [os-cluster-manager-discovery]
So, I looked over ClusterBootstrapService codes, and I found that there’s no DNS resolving for
I got confused bc some configuration options, such as
discovery.seed_hosts, has a resolver to get proper IP addresses from DNS, so k8s service names are allowed.
Why I can’t use service names for
initial_cluster_manager_nodes configuration? Is there a reason not to use resolver?