# Need Help in setting up Cross Cluster replication

**URL:** <https://discuss.elastic.co/t/need-help-in-setting-up-cross-cluster-replication/375318>\
**Category:** Elastic Search\
**Tags:** docker\
**Created:** [March 3, 2025, 4:30pm UTC](https://discuss.elastic.co/t/need-help-in-setting-up-cross-cluster-replication/375318 "2025-03-03T16:30:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Seshadri\_Kommepalli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seshadri_kommepalli/32/140743_2.png) [@Seshadri\_Kommepalli](https://discuss.elastic.co/u/Seshadri_Kommepalli)\
**Post date:** [March 3, 2025, 4:30pm UTC](https://discuss.elastic.co/t/need-help-in-setting-up-cross-cluster-replication/375318/1 "2025-03-03T16:30:58Z")

</div>

Hi Team,

We have a GKE clusters running on East and West independently .

I have deployed Elastic and Kibana through our org Golden images. My team able to do all operation to create indexes etc on east and west.

East configuration i am pasting here,

elastic-search-east.yaml

* * *

```auto
`< apiVersion: elasticsearch.k8s.elastic.co/v1
kind: Elasticsearch
metadata:
  name: elasticsearch-ews-es-east
  namespace: elks
spec:
  image: us-docker.pkg.dev/ ****** /vendor/elastic/elasticsearch:8.10.0
  version: 8.10.0
  http:
    tls:
      selfSignedCertificate:
        disabled: true
    service:
      spec:
        ports:
        - name: http
          port: 9200
          targetPort: 9200
  nodeSets:
    - name: master
      count: 1
      config:
        node.store.allow_mmap: false
      podTemplate:
        metadata:
          labels:
            Version: 8.10.0
            appVersion: 8.10.0
          annotations:
            eck.k8s.elastic.co/managed: "false"
            sidecar.istio.io/inject: "false"
            traffic.sidecar.istio.io/includeInboundPorts: "*"
            traffic.sidecar.istio.io/excludeOutboundPorts: "9300,443"
            traffic.sidecar.istio.io/excludeInboundPorts: "9300"
        spec:
          securityContext:
            runAsUser: 1000
            fsGroup: 1000
          containers:
            - name: elasticsearch
              resources:
                limits:
                  memory: 4Gi
                  cpu: 1
      volumeClaimTemplates:
      - metadata:
          name: elasticsearch-data
        spec:
          accessModes:
            - ReadWriteOnce
          resources:
            requests:
              storage: 200Gi
          storageClassName: standard
    - name: data
      count: 3
      config:
        node.store.allow_mmap: false
      podTemplate:
        metadata:
          labels:
            Version: 8.10.0
            appVersion: 8.10.0
            app: elasticsearch-data
          annotations:
            eck.k8s.elastic.co/managed: "false"
            sidecar.istio.io/inject: "false"
            traffic.sidecar.istio.io/includeInboundPorts: "*"
            traffic.sidecar.istio.io/excludeOutboundPorts: "9300,443"
            traffic.sidecar.istio.io/excludeInboundPorts: "9300"
        spec:
          securityContext:
            runAsUser: 1000
            fsGroup: 1000
          containers:
            - name: elasticsearch
              resources:
                limits: 
                  memory: 4Gi
                  cpu: 1
      volumeClaimTemplates:
      - metadata:
          name: elasticsearch-data
        spec:
          accessModes:
            - ReadWriteOnce
          resources:
            requests:
              storage: 200Gi
          storageClassName: standard />
`

```

elastic-virtualervice-east.yaml

* * *

```auto
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
  name: elks-elasticsearch-vs
  namespace: elks
spec:
  gateways:
  - ilb-gateway/ilb-gateway-elks
  hosts:
  - '*'
  http:
    - match:
        - uri:
            prefix: /
      rewrite:
        uri: /
      route:
        - destination:  
             host: *********
             port:
              number: 9200 

```

I have similar configuration in west. able to access everything as said before.

Now I want to implement cross cluster replication. If sme one give me steps and example yaml files that will be great help.

I am new to this and seeing your help to setup cross cluster replication.

Your help is greatly appreciated.

Many thanks in advance.

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [March 3, 2025, 4:58pm UTC](https://discuss.elastic.co/t/need-help-in-setting-up-cross-cluster-replication/375318/2 "2025-03-03T16:58:18Z")

</div>

> [@Seshadri\_Kommepalli](#):
>
> Now I want to implement cross cluster replication. If sme one give me steps and example yaml files that will be great help.

Quick question, do you have a paid license, platinum or enterprise, for both of your clusters?

Cross Cluster Replication is a paid feature and require both clusters to have a paid license.

---

<div class="post-metadata">

**Author:** ![Seshadri\_Kommepalli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seshadri_kommepalli/32/140743_2.png) [@Seshadri\_Kommepalli](https://discuss.elastic.co/u/Seshadri_Kommepalli)\
**Post date:** [March 3, 2025, 5:23pm UTC](https://discuss.elastic.co/t/need-help-in-setting-up-cross-cluster-replication/375318/3 "2025-03-03T17:23:44Z")

</div>

Hi Leandroj,

Thanks for looking into this . Yes we do have licensee .

thanks  
Seshadri

---

<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 31, 2025, 5:24pm UTC](https://discuss.elastic.co/t/need-help-in-setting-up-cross-cluster-replication/375318/4 "2025-03-31T17:24:21Z")

</div>

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