content/operate/kubernetes/reference/yaml/active-active.md
This page provides YAML examples for deploying Active-Active Redis Enterprise databases across multiple Kubernetes clusters. Active-Active databases provide multi-master replication with conflict resolution, enabling global distribution and local read/write access.
For complete deployment instructions, see [Active-Active databases]({{< relref "/operate/kubernetes/active-active" >}}).
To deploy Active-Active databases using these YAML files, follow [Create Active-Active database (REAADB)]({{< relref "/operate/kubernetes/active-active/create-reaadb" >}}), which provides detailed instructions for preparing clusters, creating RERC resources, and deploying REAADB configurations.
A namespace is an abstraction used by Kubernetes to support multiple virtual clusters on the same physical cluster.
ns-illinois.yaml is used in [Create Active-Active database]({{< relref "/operate/kubernetes/active-active/create-reaadb#example-values" >}}).
{{<embed-yaml "k8s/ns-illinois.md" "ns-illinois.yaml">}}
ns-virginia.yaml is used in [Create Active-Active database]({{< relref "/operate/kubernetes/active-active/create-reaadb#example-values" >}}).
{{<embed-yaml "k8s/ns-virginia.md" "ns-virginia.yaml">}}
A Redis Enterprise cluster is a collection of Redis Enterprise nodes that pools system resources across nodes and supports multi-tenant database instances.
rec-chicago.yaml is used in [Create Active-Active database]({{< relref "/operate/kubernetes/active-active/create-reaadb#prerequisites" >}}) and [Create RERC]({{< relref "/operate/kubernetes/active-active/create-reaadb#create-rerc" >}}).
{{<embed-yaml "k8s/rec-chicago.md" "rec-chicago.yaml">}}
rec-arlington.yaml is used in [Create Active-Active database]({{< relref "/operate/kubernetes/active-active/create-reaadb#prerequisites" >}}) and [Create RERC]({{< relref "/operate/kubernetes/active-active/create-reaadb#create-rerc" >}}).
{{<embed-yaml "k8s/rec-arlington.md" "rec-arlington.yaml">}}
RedisEnterpriseRemoteCluster represents a remote participating cluster.
rerc-ohare.yaml is used in the [Create RERC]({{< relref "/operate/kubernetes/active-active/create-reaadb#create-rerc" >}}) section.
{{<embed-yaml "k8s/rerc-ohare.md" "rerc-ohare.yaml">}}
rerc-raegan.yaml is used in the [Create RERC]({{< relref "/operate/kubernetes/active-active/create-reaadb#create-rerc" >}}) section.
{{<embed-yaml "k8s/rerc-raegan.md" "rerc-raegan.yaml">}}
Edit the values in the downloaded YAML file for your specific setup, updating the remote cluster details, API endpoints, and secret names to match your actual environment.
Active-Active databases are geo-distributed databases that span multiple Redis Enterprise clusters and use multi-primary replication and conflict-free replicated data types (CRDTs).
reaadb-boeing.yaml is used in the [Create Active-Active database]({{< relref "/operate/kubernetes/active-active/create-reaadb#create-reaadb" >}}) section.
{{<embed-yaml "k8s/reaadb-boeing.md" "reaadb-boeing.yaml">}}
Edit the downloaded YAML file to add global database settings such as memory allocation, shard count, replication settings, database secrets, Redis modules, and database-specific Redis configuration.