# Help with configurring cross cluster on 2 kubenrtes vms

**URL:** <https://discuss.elastic.co/t/help-with-configurring-cross-cluster-on-2-kubenrtes-vms/263759>\
**Category:** Kibana\
**Tags:** docker, ccs-cross-cluster-search\
**Created:** [February 9, 2021, 3:47pm UTC](https://discuss.elastic.co/t/help-with-configurring-cross-cluster-on-2-kubenrtes-vms/263759 "2021-02-09T15:47:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Naomi](https://avatars.discourse-cdn.com/v4/letter/n/ee59a6/32.png) [@Naomi](https://discuss.elastic.co/u/Naomi)\
**Post date:** [February 9, 2021, 3:47pm UTC](https://discuss.elastic.co/t/help-with-configurring-cross-cluster-on-2-kubenrtes-vms/263759/1 "2021-02-09T15:47:25Z")

</div>

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:

````auto
      "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!!!!
````

---

<div class="post-metadata">

**Author:** ![Patrick\_Mueller](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/patrick_mueller/32/109425_2.png) [@Patrick\_Mueller](https://discuss.elastic.co/u/Patrick_Mueller)\
**Post date:** [February 22, 2021, 2:23pm UTC](https://discuss.elastic.co/t/help-with-configurring-cross-cluster-on-2-kubenrtes-vms/263759/2 "2021-02-22T14:23:39Z")

</div>

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 ...

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 22, 2021, 2:23pm UTC](https://discuss.elastic.co/t/help-with-configurring-cross-cluster-on-2-kubenrtes-vms/263759/3 "2021-03-22T14:23:45Z")

</div>

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