{
  "id": "active-active",
  "title": "Active-Active examples",
  "url": "https://redis.io/docs/latest/operate/kubernetes/8.0/reference/yaml/active-active/",
  "summary": "YAML examples for Active-Active Redis Enterprise databases across multiple Kubernetes clusters.",
  "content": "\nThis 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).\n\n## Applying the configuration\n\nTo 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.\n\n## Namespace examples\n\nA 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).\n\n\n\n## REC examples\n\nA 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).\n\n\n\n## RERC examples\n\nRedisEnterpriseRemoteCluster 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.\n\n\n\n### RERC configuration\n\n- [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.\n\n## Active-Active database examples\n\nActive-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.\n\n\n\n### REAADB configuration\n\n- [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.\n\n## Related documentation\n\n- [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)\n",
  "tags": ["docs","operate","kubernetes"],
  "last_updated": "2026-06-04T14:49:57+01:00"
}
