Help with configurring cross cluster on 2 kubenrtes vms

I tried to configure a cross cluster for 2 elastic 7.10.2 clusters on 2 different kubenrtes vm
I configure a node port for one elastic to enable connection like below:

elasticsearch-client NodePort 10.1111.11.11 <none> 9200:30005/TCP 27m
elasticsearch-discovery ClusterIP 10.233.12.81 9300/TCP 27m

and configure cluster/_Setting like below:

      "persistent" : {
        "cluster" : {
          "remote" : {
            "cluster_three" : {
              "mode" : "proxy",
              "proxy_address" : "122.22.111.222:30005"
            },
            "cluster_two" : {
              "mode" : "sniff",
              "skip_unavailable" : "false",
              "transport" : {
                "compress" : "true"
              },
              "seeds" : [
                "122.22.222.182:30005"
              ]
            },
            "cluster_one" : {
              "seeds" : [
                "127.0.0.1:9200"
              ],
              "transport" : {
                "ping_schedule" : "30s"
              }
            }
          }
        }
      },
      "transient" : { }
    ```

but I still get error when search a index in cluster 2 `:
`"statusCode":502,"error":"Bad Gateway","message":"Client request timeout"}`

even though a simple curl from cluster to 1 to cluster_two  did work can someone assist here please!!!!

It would be best to post this in the Elastic Stack - Elasticsearch category instead of this category (Kibana).

Unless there is something specific to Kibana here - but I don't see anything ...

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.