{
  "schema_version": 2,
  "id": "operate/kubernetes/reference/yaml/active-active",
  "title": "Active-Active examples",
  "url": "https://redis.io/docs/latest/operate/kubernetes/reference/yaml/active-active/",
  "summary": "YAML examples for Active-Active Redis Enterprise databases across multiple Kubernetes clusters.",
  "tags": [
    "docs",
    "operate",
    "kubernetes"
  ],
  "last_updated": "2026-09-28T15:03:12+01:00",
  "page_type": "content",
  "content_hash": "5f83816b5027cb761495fee0bd9e1e62a75ef170fddb3a021c65009daa1ae0d9",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "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.\n\nFor complete deployment instructions, see [Active-Active databases](https://redis.io/docs/latest/operate/kubernetes/active-active)."
    },
    {
      "id": "applying-the-configuration",
      "title": "Applying the configuration",
      "role": "content",
      "text": "To deploy Active-Active databases using these YAML files, follow [Create Active-Active database (REAADB)](https://redis.io/docs/latest/operate/kubernetes/active-active/create-reaadb), which provides detailed instructions for preparing clusters, creating RERC resources, and deploying REAADB configurations."
    },
    {
      "id": "namespace-examples",
      "title": "Namespace examples",
      "role": "content",
      "text": "A namespace is an abstraction used by Kubernetes to support multiple virtual clusters on the same physical cluster.\n\n`ns-illinois.yaml` is used in [Create Active-Active database](https://redis.io/docs/latest/operate/kubernetes/active-active/create-reaadb#example-values).\n\n\n\n`ns-virginia.yaml` is used in [Create Active-Active database](https://redis.io/docs/latest/operate/kubernetes/active-active/create-reaadb#example-values)."
    },
    {
      "id": "rec-examples",
      "title": "REC examples",
      "role": "content",
      "text": "A Redis Enterprise cluster is a collection of Redis Enterprise nodes that pools system resources across nodes and supports multi-tenant database instances.\n\n`rec-chicago.yaml` is used in [Create Active-Active database](https://redis.io/docs/latest/operate/kubernetes/active-active/create-reaadb#prerequisites) and [Create RERC](https://redis.io/docs/latest/operate/kubernetes/active-active/create-reaadb#create-rerc).\n\n\n\n`rec-arlington.yaml` is used in [Create Active-Active database](https://redis.io/docs/latest/operate/kubernetes/active-active/create-reaadb#prerequisites) and [Create RERC](https://redis.io/docs/latest/operate/kubernetes/active-active/create-reaadb#create-rerc)."
    },
    {
      "id": "rerc-examples",
      "title": "RERC examples",
      "role": "content",
      "text": "RedisEnterpriseRemoteCluster represents a remote participating cluster.\n\n`rerc-ohare.yaml` is used in the [Create RERC](https://redis.io/docs/latest/operate/kubernetes/active-active/create-reaadb#create-rerc) section.\n\n\n\n`rerc-raegan.yaml` is used in the [Create RERC](https://redis.io/docs/latest/operate/kubernetes/active-active/create-reaadb#create-rerc) section."
    },
    {
      "id": "rerc-configuration",
      "title": "RERC configuration",
      "role": "content",
      "text": "- [metadata.name](https://redis.io/docs/latest/operate/kubernetes/reference/api/redis_enterprise_remote_cluster_api#appredislabscomv1alpha1): Unique name for this remote cluster reference\n- [spec.recName](https://redis.io/docs/latest/operate/kubernetes/reference/api/redis_enterprise_remote_cluster_api#spec): Name of the remote REC\n- [spec.recNamespace](https://redis.io/docs/latest/operate/kubernetes/reference/api/redis_enterprise_remote_cluster_api#spec): Namespace of the remote REC\n- [spec.apiFqdnUrl](https://redis.io/docs/latest/operate/kubernetes/reference/api/redis_enterprise_remote_cluster_api#spec): API endpoint URL for the remote cluster\n- [spec.dbFqdnSuffix](https://redis.io/docs/latest/operate/kubernetes/reference/api/redis_enterprise_remote_cluster_api#spec): Database hostname suffix for the remote cluster\n- [spec.secretName](https://redis.io/docs/latest/operate/kubernetes/reference/api/redis_enterprise_remote_cluster_api#spec): Secret containing authentication credentials\n\nEdit 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."
    },
    {
      "id": "active-active-database-examples",
      "title": "Active-Active database examples",
      "role": "content",
      "text": "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).\n\n`reaadb-boeing.yaml` is used in the [Create Active-Active database](https://redis.io/docs/latest/operate/kubernetes/active-active/create-reaadb#create-reaadb) section."
    },
    {
      "id": "reaadb-configuration",
      "title": "REAADB configuration",
      "role": "content",
      "text": "- [metadata.name](https://redis.io/docs/latest/operate/kubernetes/reference/api/redis_enterprise_active_active_database_api#appredislabscomv1alpha1): Active-Active database name\n- [spec.participatingClusters](https://redis.io/docs/latest/operate/kubernetes/reference/api/redis_enterprise_active_active_database_api#specparticipatingclusters): List of RERC names that participate in this database\n- [spec.globalConfigurations](https://redis.io/docs/latest/operate/kubernetes/reference/api/redis_enterprise_active_active_database_api#specglobalconfigurations): Database settings applied to all participating clusters\n\nEdit 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."
    },
    {
      "id": "related-documentation",
      "title": "Related documentation",
      "role": "related",
      "text": "- [Active-Active databases (index)](https://redis.io/docs/latest/operate/kubernetes/active-active)\n- [Prepare participating clusters](https://redis.io/docs/latest/operate/kubernetes/active-active/prepare-clusters)\n- [Create Active-Active database (REAADB)](https://redis.io/docs/latest/operate/kubernetes/active-active/create-reaadb)\n- [Edit global configuration](https://redis.io/docs/latest/operate/kubernetes/active-active/global-config)\n- [Sync global database secret](https://redis.io/docs/latest/operate/kubernetes/active-active/global-db-secret)\n- [RERC API reference](https://redis.io/docs/latest/operate/kubernetes/reference/api/redis_enterprise_remote_cluster_api)\n- [REAADB API reference](https://redis.io/docs/latest/operate/kubernetes/reference/api/redis_enterprise_active_active_database_api)\n- [Networking configuration](https://redis.io/docs/latest/operate/kubernetes/networking)"
    }
  ],
  "examples": []
}
