Skip to main content

Cross-Cluster Object Replication (HA) Architecture Guide

24 min read

Reference Environment: EKS 1.32+, ArgoCD 2.13+, Flux v2.4+, Velero 1.15+

1. Overview​

A service that depends on one EKS cluster can become unavailable if that cluster fails. Cross-Cluster Object Replication keeps Kubernetes objects—such as ConfigMaps, Secrets, RBAC resources, CRDs, and NetworkPolicies—consistent across clusters so another cluster has the required configuration. Service availability also depends on data replication, traffic failover, and application recovery; object replication alone does not provide it.

Current State​

EKS does not provide managed Cross-Cluster Object Replication. Therefore, you must implement it yourself by combining open-source tools and architecture patterns. This guide compares the pros and cons of each pattern and provides selection criteria based on workload types.

Scope of This Guide​

Table 1. What this guide covers and does not cover

IncludedNot Included
K8s object replication (ConfigMap, Secret, CRD, RBAC, etc.)Application data replication (DB replicas)
GitOps-based declarative synchronizationService mesh-based traffic routing
Stateful object backup/restore (Velero)Storage layer replication (EBS, EFS)
DNS failover strategiesApplication-level HA patterns

2. Multi-Cluster Architecture Pattern Comparison​

There are three core patterns for implementing Cross-Cluster Object Replication.

Pattern 1: API Proxy (Push Model)​

A central routing layer directly proxies CRUD requests to each cluster's API Server.

Figure 1. Request flow of the API Proxy (Push model)

Expand the diagram to read labels and follow connections.
Diagram
  • How it works: Direct API calls from a central point to each cluster
  • Pros: Lightweight and intuitive
  • Cons: Credential security vulnerabilities, no multi-cluster Watch support, increasing connection complexity

Pattern 2: Multi-cluster Controller (Kubefed-style)​

A central controller monitors each cluster's state via Informer-based List-Watch and synchronizes through CRDs.

Figure 2. List-Watch synchronization structure of the Multi-cluster Controller

Expand the diagram to read labels and follow connections.
Diagram
  • How it works: Central controller monitors and synchronizes each cluster's state
  • Pros: Dynamic cluster discovery, federation policies
  • Cons: Depending on the implementation, the central controller's watch events and Informer cache grow with the number of clusters and objects, so measure the limit at your target scale (for example, tens of clusters). Concentrating credentials centrally enlarges the blast radius, so control it with encryption and a secret store.
Kubefed Project Status

The Kubefed (v2) repository was moved under the kubernetes-retired organization and archived (read-only) on April 25, 2023. This is a stronger end-of-life state than maintenance mode, so it is not recommended for new projects.

Agents in each cluster pull the desired state from a central source (Git or hub cluster) and reconcile locally. This follows the same principle as kubelet receiving Pod specs and running them locally.

Figure 3. Reconcile flow of the Agent-based Pull model

Expand the diagram to read labels and follow connections.
Diagram
  • How it works: Each cluster agent independently pulls the desired state and reconciles locally
  • Pros: High scalability, eventual consistency, local operation continues even during central failures
  • Cons: Requires agent deployment on all clusters

Pattern Comparison Summary​

Table 2. Operation, scalability, and security comparison of the three replication patterns

AspectAPI ProxyMulti-cluster ControllerAgent-based Pull
OperationCentral → Cluster PushCentral Watch + CRD SyncCluster → Central Pull
ScalabilityLow (proportional to connections)Implementation- and workload-dependent (central watch/cache load grows with cluster count)Up to hundreds of clusters depending on implementation (each cluster pulls independently)
ComplexityLowHighMedium
SecurityUses many credentials centrallyControl the blast radius of centralized credentials with encryption and a secret storeAgents use only local permissions, so the blast radius is small
Fault IsolationLowMediumHigh
Drift DetectionNonePartialBuilt-in
Recommended ForPoC, small scaleLegacy environmentsProduction (recommended)

Decision Flowchart​

Figure 4. Pattern selection flow by cluster count and requirements

Expand the diagram to read labels and follow connections.
Diagram

Uses a Git repository as the Single Source of Truth, with GitOps agents in each cluster independently pulling and reconciling.

Figure 5. GitOps-based Single Source of Truth replication structure

Expand the diagram to read labels and follow connections.
Diagram

Key Benefits:

  • Drift Detection: Automatically detects and recovers when cluster state differs from Git
  • Audit Trail: All change history is recorded as Git commits
  • Declarative Management: Define the desired state and let agents reconcile
  • Fault Isolation: An agent failure in one cluster does not affect others

Active-Active Configuration:

Both clusters independently pull from the same Git repo. DNS (Route 53) distributes traffic, and if one cluster fails, Route 53 changes its DNS answers after health evaluation to route traffic to the remaining cluster. The actual failover time depends on the health-detection interval, DNS TTL and client/resolver caching, the remaining cluster's reserved capacity, and application/data readiness, so measure it rather than assuming it is immediate.

Active-Passive Configuration:

Only the Active cluster has its GitOps agent enabled. The Passive cluster keeps its agent in Suspended state, activating it during failover.

Option B: ArgoCD Hub-and-Spoke Model​

Install ArgoCD on a Management Cluster and deploy to multiple workload clusters via ApplicationSets.

Figure 6. ArgoCD Hub-and-Spoke deployment structure

Expand the diagram to read labels and follow connections.
Diagram

HA Strategies:

Table 3. HA strategy comparison for Hub-and-Spoke

StrategyDescriptionSuitable Scenario
Active-Passive MirroringDeploy ArgoCD in two regions; Passive keeps controllers disabled. Manual Scale-Up during failoverEnvironments with low DR requirements
Active-Active Sync WindowsRestrict two ArgoCD instances to sync only during non-overlapping time windows with Sync Windows. Sync Windows only gate when sync may run and allow manual overrides, so guarantee write-conflict prevention with a single writer per object or explicit ownership/fencingActive-Active that needs to separate sync time windows
ApplicationSets Generator

Using ArgoCD ApplicationSets' Cluster Generator, applications can be automatically deployed to all clusters registered with ArgoCD. When a new cluster is added, replication starts immediately without additional configuration.

Option C: Custom Controller (MirrorController Pattern)​

When fine-grained control over object replication is needed, develop a dedicated controller to manage synchronization between source and target clusters.

Use Cases:

  • Selective replication of only objects with specific Labels/Annotations
  • Object transformation during replication (e.g., Namespace changes, field modifications)
  • Custom conflict resolution logic

Pros and Cons:

Table 4. Pros and cons of the Custom Controller approach

ProsCons
Clear separation of concernsAdditional operational overhead
Reduced core logic complexityPotential synchronization delays
Fine-grained replication policy controlIncreased debugging complexity
Custom conflict resolutionRequires in-house development/maintenance

4. Active-Active vs Active-Passive Decision​

Comparison Table​

Table 5. Comparison of Active-Active and Active-Passive configurations by aspect

AspectActive-ActiveActive-Passive
Object SyncBoth clusters independently pull from same Git sourceOnly Active reconciles; Passive stands by
Failover TimeDepends on health detection, DNS TTL, client caching, and reserved capacity (can be short when both already serve, but measure it)Minutes (Passive activation required)
Conflict ResolutionWrite conflicts possible — prevent them with a single writer per object or explicit ownership/fencing (Sync Windows only gate when sync runs)No conflicts — single writer
Operational ComplexityHigh (object IDs, DNS, state synchronization)Low (standard failover model)
CostHigh (full capacity on both sides)Low (Passive can run at reduced capacity)
Suitable ScenarioMulti-region HA, global load balancingDR, cost-sensitive HA

Figure 7. Recommended Active-Active/Active-Passive mode by workload type

Expand the diagram to read labels and follow connections.
Diagram

5. Supporting Tool Stack​

Object replication alone cannot achieve complete Cross-Cluster HA. Combine the following tools to build the full stack.

Table 6. Supporting tools and roles that make up the Cross-Cluster HA stack

ToolRoleNotes
Flux / ArgoCDK8s object replication (GitOps)Core replication mechanism
Route 53DNS-based failover/load balancingHealth Check + Failover Routing
Global AcceleratorAnycast IP-based global routingFor multi-region Active-Active
VeleroBackup/restore of Kubernetes API objects plus volume data (provider snapshots or filesystem backup)Not an etcd snapshot backup. Cross-region recovery needs a snapshot copy/restore or data mover; S3 CRR alone does not complete a PV restore
External Secrets OperatorSecret synchronizationAWS Secrets Manager → both clusters
Crossplane / ACKAWS resource definition syncManage IaC as K8s objects

Tool Combination Architecture​

Figure 8. Full stack structure combining GitOps, Velero, and Route 53

Expand the diagram to read labels and follow connections.
Diagram

6. Current Limitations and Future Outlook​

There are features in the EKS multi-cluster management space that are not yet available as managed services.

Table 7. Features not yet available as managed services, and their alternatives

AreaCurrent StateAlternative
Managed ClusterSetsNot releasedNo single feature replaces cluster-inventory grouping; manage the cluster list with GitOps tooling or your own cluster registry (RAM is limited to supported shareable resource types and is not an EKS cluster-inventory grouping mechanism)
Built-in Cross-Cluster ReplicationNot releasedGitOps (Flux/ArgoCD)
Multi-Region EKS ClusterNot releasedIndependent clusters per region + GitOps sync
Managed ArgoCDAvailable as the EKS Capability for Argo CD (fully managed GitOps)Syncs the Git-declared desired state; it is not automatic live-object replication
Practical Approach

Until these features are released, the GitOps + supporting tool stack combination is the most mature and proven approach. Many EKS customers have adopted GitOps based on Flux/ArgoCD.


Final recommended tool combinations for eliminating single-cluster dependency.

Table 8. Final recommended tools and configurations by purpose

PurposeRecommended ToolConfiguration
K8s Object ReplicationGitOps (Flux or ArgoCD)Both clusters pull from the same Git repo
Stateful Data ProtectionVelero + S3 Cross-Region ReplicationScheduled backup + cross-region replication
Secret SynchronizationExternal Secrets OperatorAWS Secrets Manager as shared source
DNS FailoverRoute 53 Health ChecksActive-Active or Failover Routing
CRD/Custom ResourcesInclude in GitOps repoManaged identically to standard K8s objects
AWS Resource DefinitionsCrossplane or ACKSync IaC natively in K8s

Implementation Priority​

  1. P0: Deploy GitOps agents + design Git repo structure
  2. P1: Configure External Secrets Operator + Route 53 Health Checks
  3. P2: Establish Velero backup policies + S3 Cross-Region Replication
  4. P3: AWS resource sync with Crossplane/ACK (as needed)


9. References​