Multi-Cluster Kubernetes: Operations and Networking
Plan multi-cluster Kubernetes for isolation, regional routing, GitOps delivery, and recovery, with the ownership and operating costs each approach adds.
Multiple Kubernetes clusters help when one cluster cannot meet a region, isolation, or recovery requirement. They do not share service discovery, identity, networking, or application data automatically. This guide separates cluster lifecycle, GitOps delivery, traffic, connectivity, and data ownership so you can decide which parts need a multi-cluster design.
Multi-Cluster Kubernetes: Operations and Networking
One Kubernetes cluster is enough for many teams. A second cluster adds an independent control plane and a new failure boundary, but Kubernetes does not connect the two clusters or keep their applications and data in sync.
Before adding clusters, name the requirement you need to meet. It might be data residency, a separate trust boundary, regional latency, or a recovery target a single cluster cannot provide. Then assign an owner to cluster upgrades, credentials, network paths, application data, and failover.
If the need is availability for one application, first review replicas, probes, PodDisruptionBudgets, and zone spreading. If a single cluster with namespaces and network policies meets your isolation needs, that is usually simpler to operate.
When a Second Cluster Helps
| Need | What a second cluster can provide | What still needs a design |
|---|---|---|
| Separate trust or administrative boundaries | Separate API server, cluster RBAC, and control plane | Identity federation, shared credentials, and policies on both sides |
| Regional placement or data residency | A place to run workloads near users or within a required region | Traffic steering, data location, replication, and legal review |
| Recovery from a cluster failure | An independent place to restore or run workloads | Backups, recovery time and point objectives, reserved capacity, and failover |
| Different upgrade or release schedules | A separate cluster lifecycle | Compatibility testing and a team responsible for each schedule |
A cluster boundary can reduce the effect of a cluster-level incident, but it does not make an application highly available by itself. The same bad deployment, shared identity provider, external database, or network dependency can affect every cluster.
When one cluster is enough
Start with one cluster when workloads share the same trust model, region, and upgrade schedule. Namespaces, RBAC, quotas, and NetworkPolicies may provide the separation you need. They do not replace a separate cluster when teams need independent administration or stronger failure isolation; choose based on the threat model and operational ownership.
Kubernetes has no single cluster-count limit that tells you when to split. Capacity, control-plane performance, failure domains, and the limits of your provider and network implementation all matter. A second cluster also adds a control plane, system workloads, monitoring, upgrades, and support work.
Keep the Responsibilities Separate
These systems solve different problems. Choosing one does not remove the need to plan the others.
| Responsibility | Example approach | It does not provide |
|---|---|---|
| Create and upgrade clusters | Managed provider tooling or Cluster API | Application deployment, cross-cluster routing, or data consistency |
| Deploy application configuration | GitOps, such as Argo CD | Cluster provisioning, network connectivity, or database replication |
| Find and route to services | Provider multi-cluster service features, a traffic manager, or a service mesh | A guarantee that an endpoint is healthy or has enough capacity |
| Connect cluster networks | Provider routing, VPN, an overlay, or a supported gateway | Service identity, application authorization, or failover policy |
| Replicate application data | Database-native replication and tested backup/restore | Cluster lifecycle or Kubernetes object propagation |
| Authenticate people and workloads | Your identity provider and each cluster’s RBAC | Automatic trust between every cluster |
The platform team often owns clusters, network connectivity, fleet identity, and observability. Application teams still own service behavior, data consistency, and the recovery procedure for their state. Write those boundaries down before building automation.
Cluster Lifecycle and Fleet Management
Cluster API (CAPI) uses Kubernetes-style resources to automate cluster lifecycle management through infrastructure and bootstrap providers. A provider is required for the target platform. CAPI can make provisioning and upgrades repeatable, but it does not guarantee that two clusters are identical: provider versions, machine images, network configuration, and cluster specifications still need to match.
Managed platforms also offer fleet or multi-cluster management features. These are provider-specific control surfaces, not portable Kubernetes APIs:
| Provider feature | Useful for | Check before adopting |
|---|---|---|
| GKE fleets and Multi-Cluster Services | Registering GKE clusters and exporting supported Services across a fleet | The service has provider-specific networking and cluster requirements. Google’s current documentation also lists NetworkPolicy as unsupported with this feature. |
| Azure Kubernetes Fleet Manager | Organizing supported clusters, coordinating updates, and placing resources | Fleet management does not create a general pod network or make application data consistent across clusters. |
Choose one system to own each lifecycle action. If a managed platform owns the control plane, do not also let a second controller independently change the same cluster version or node pool.
Service Discovery and Traffic
A Kubernetes ClusterIP Service and its DNS name normally apply inside one cluster. A Service named orders in east is not automatically the same endpoint as orders in west. Kubernetes does not provide a global service registry across clusters.
Common patterns include:
- Global traffic manager or DNS: Send clients to a cluster-level load balancer. Health checks, DNS caching, and failover behavior depend on the traffic manager and client resolver.
- Provider service export/import: Some platforms add
ServiceExportandServiceImportcustom resources that publish selected Services across clusters. These are implemented by controllers or provider features; they are not built into core Kubernetes. - Gateway or service mesh: Route selected service traffic across clusters when the chosen implementation supports the required topology and identity model.
For example, GKE Multi-Cluster Services requires participating clusters to be registered to a fleet and have compatible network connectivity. Its documented limitations are part of the design decision; do not assume the same manifest or behavior applies to another provider.
DNS is a discovery mechanism, not a complete failover system. A cached address can outlive a failure, and a healthy load balancer can still route to an application that cannot serve requests. Test the client path, health checks, DNS cache behavior, and remaining capacity together.
For the single-cluster path from Service to Pod, see Kubernetes Services and Networking.
Network Connectivity
VPC or VNet peering connects network domains according to the provider’s route and security rules. Creating a peering connection does not automatically make Pod IPs routable between clusters. Pod CIDRs must be compatible and reachable, route tables and firewalls must allow the traffic, and the CNI and provider must support the path. Check for overlapping Pod, Service, and node ranges before choosing CIDRs.
A VPN can connect routed networks and encrypt traffic across an untrusted path. It does not grant unrestricted access unless routes and firewall rules allow it. Plan tunnel capacity, latency, MTU, key rotation, and failure handling.
A service mesh or multi-cluster gateway can add service-level identity, encryption, and routing policy. It also adds control-plane and certificate operations. Check the implementation’s current installation guide and supported topology; an old controller manifest may no longer be valid.
Standard Kubernetes NetworkPolicy objects are namespaced and select Pods in that namespace. They do not automatically define policy for traffic between clusters, and enforcement depends on the CNI. Apply controls at each relevant cluster and at the network or gateway boundary, then verify the effective rules with the actual CNI. The NetworkPolicy guide covers in-cluster policy behavior.
Test connectivity before production rollout from a workload that uses the same namespace, labels, DNS resolver, and network path as the real client. Check name resolution, the application protocol, routes, firewall logs, and CNI flow data. A failed TCP probe alone does not identify which layer blocked the request.
GitOps for Application Delivery
GitOps can keep application manifests consistent across clusters. Argo CD, for example, can target a registered remote cluster from an Application:
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: checkout
namespace: argocd
spec:
project: production
source:
repoURL: https://git.example.com/platform/apps.git
targetRevision: <reviewed-tag-or-commit>
path: apps/checkout/overlays/production
destination:
server: https://api.prod.example.com
namespace: checkout
Register each destination deliberately. Restrict the AppProject to the clusters, namespaces, and resource kinds that team may manage. The cluster credential Argo CD uses needs only the permissions required for those resources. Its cluster-management guide notes that the CLI setup requires privileged access, so review the generated RBAC instead of leaving broad administrative access in place.
A central Argo CD instance can reduce duplicated controllers, but its credentials and availability become shared concerns. Separate instances can reduce that shared control-plane dependency while adding upgrade and monitoring work. In either setup, a Git commit does not make deployments atomic across clusters. Track sync status per destination and plan how to pause or roll back a partial rollout.
GitOps also does not provision every cluster unless a separate cluster-lifecycle workflow is configured. Keep cluster infrastructure and application manifests under clear ownership.
Operating Costs and Ownership
| Area | Questions to answer | Typical owner |
|---|---|---|
| Cluster lifecycle | Who patches, upgrades, tests version compatibility, and retires each cluster? | Platform team |
| Identity and access | How do users and workloads authenticate to each API? Are credentials short-lived and scoped per cluster? | Platform and security teams |
| Networking | Who assigns non-overlapping CIDRs, manages routes/firewalls, and verifies cross-cluster policy? | Network/platform team |
| Application data | Which system replicates data? What are the consistency model, RPO, RTO, and fencing rules? | Application/data team |
| Traffic and capacity | Who owns health checks, failover, regional capacity, and traffic costs? | Service owner and SRE |
| Observability | Can responders distinguish a cluster failure from an app, network, or data failure? | SRE/platform team |
Budget for provider control-plane charges, per-cluster system workloads, duplicated spare capacity, cross-region network transfer, backups, and the time required to operate another environment. Costs vary by provider and topology; a simple N-times estimate will miss shared services and traffic patterns.
Multi-cluster decision checklist
Before creating another cluster, answer these questions:
- What requirement cannot be met by the existing cluster and its failure domains?
- Which team owns cluster creation, upgrades, identity, networking, and monitoring?
- Are Pod, Service, and node CIDRs non-overlapping and routable where required?
- How will each workload authenticate, and what are its per-cluster RBAC permissions?
- How will the application find remote services and route traffic during a failure?
- Which system replicates persistent data, and how are consistency, RPO, RTO, and fencing tested?
- Is recovery capacity available in the surviving cluster, including dependencies and quotas?
- Have cross-cluster network, credential, upgrade, and restore failures been rehearsed?
If those answers are unclear, keep the application in one cluster until the design is ready.
Failure Scenarios
A network partition creates two writable sites
A network partition can leave both clusters running while they cannot coordinate. If the application accepts writes on both sides, data can diverge. Kubernetes does not elect a single database leader or fence an old primary for you. Use the database’s documented replication and quorum model, and test how the system behaves when one site loses contact.
Traffic fails over to a cluster without capacity
DNS or a global load balancer can direct clients to another region, but that region may not have enough replicas, quota, storage, or database connections. Reserve or autoscale capacity, include dependencies in health checks, and test the full failover path under load. A running cluster is not proof that it can carry production traffic.
Management or credentials are unavailable
If a central GitOps controller loses access to one cluster, workloads already running there may continue, but reconciliation and updates stop. Alert on per-cluster sync status and credential expiry. Keep a tested break-glass path with scoped access, and record who can use it.
A restore works only on paper
A second cluster does not contain a usable copy of application state unless backups or replication put it there. Restore into an isolated environment, validate application-level consistency, and measure the recovery time against the service’s target. See Kubernetes storage and recovery for the PV/PVC side of that work.
Common Mistakes
Treating resource propagation as a global control plane
Copying the same YAML to several clusters does not make their Services, storage classes, CRDs, secrets, or permissions equivalent. These resources can have different names, controllers, provider behavior, and security scope. Use overlays or per-cluster configuration where the infrastructure differs, and review the rendered changes before syncing.
Treating network reachability as service discovery
A route between Pod CIDRs does not give clients a stable service name, health-aware load balancing, or authorization. Decide separately how callers discover endpoints, how traffic is balanced, and which identities are allowed to connect.
Interview Questions
Expected answer points:
- There is a concrete requirement such as region placement, a separate trust boundary, independent lifecycle, or a recovery target.
- A second cluster adds a control plane and operational work; namespace isolation may be enough for some teams.
- Clusters alone do not provide traffic failover or data replication.
Expected answer points:
- Cluster API uses providers to automate cluster infrastructure and lifecycle operations.
- Provider resources and capabilities vary; matching cluster specifications still needs configuration and validation.
- It does not deploy application state or provide cross-cluster network and data consistency by itself.
Expected answer points:
- No. Service names and ClusterIP endpoints normally belong to one cluster.
- Cross-cluster discovery needs a provider feature, traffic manager, or supported mesh/gateway.
- ServiceExport and ServiceImport are custom resources implemented by a controller, not core Kubernetes resources.
Expected answer points:
- No. The upstream KubeFed repository is archived and read-only.
- Keep existing installations as legacy systems with an explicit maintenance plan; do not use old KubeFed installation commands as a current workflow.
- Choose current lifecycle, GitOps, traffic, and networking tools for their specific responsibilities.
Expected answer points:
- Not by itself. Pod CIDRs must be compatible and routed, and firewall rules and the CNI must support the traffic path.
- Provider routing and peering behavior vary; check the platform documentation.
- Connectivity does not supply service discovery, health-aware routing, or application authorization.
Expected answer points:
- Choose a supported service export/import feature, global traffic manager, or mesh/gateway based on the traffic pattern.
- Verify controller prerequisites, endpoint health, DNS caching, and cross-cluster connectivity.
- Plan failover capacity and application-level health checks separately.
Expected answer points:
- Standard NetworkPolicy objects are namespaced and select Pods in their namespace; enforcement depends on the CNI.
- They do not automatically span clusters, so apply controls at each cluster and at the network or gateway boundary.
- Test with the actual CNI and workload identity path.
Expected answer points:
- Traffic redirection, available compute and storage capacity, credentials, and required dependencies.
- Application data replication or restore with consistency checks.
- Measured RPO/RTO and a tested rollback or failback procedure.
Expected answer points:
- It compares desired configuration in Git with resources in each configured destination.
- Each destination needs registered credentials, scoped RBAC, and its own sync/health status.
- GitOps does not provision clusters, connect their networks, or make a multi-cluster rollout atomic.
Expected answer points:
- The platform team usually owns cluster lifecycle, base access, and network integration.
- Security and platform teams define user and workload identity across clusters.
- Application/data teams own replication, consistency, fencing, and service recovery targets; name owners before launch.
Further Reading
- Archived KubeFed repository — Legacy project status; not a current installation guide.
- Cluster API documentation — Cluster lifecycle APIs and provider model.
- Argo CD cluster management — Registering and managing deployment destinations.
- GKE Multi-Cluster Services — Provider-specific service discovery and requirements.
- Azure Kubernetes Fleet Manager — Azure’s multi-cluster management capabilities.
- Kubernetes SIG Multicluster — Current SIG Multicluster information and projects.
Conclusion
A second cluster can add a useful isolation or recovery boundary, but it also adds costs and ownership work. Treat cluster lifecycle, application delivery, identity, routing, connectivity, and data replication as separate decisions.
Before adoption, name the requirement, the owner for each layer, the recovery targets, and the failure test that will prove the design works. If the answers are still vague, keep the workload in one cluster and revisit the split when a concrete need appears.
Category
Related Posts
GitOps: Declarative Deployments with ArgoCD and Flux
Compare Argo CD and Flux for Kubernetes GitOps, including reconciliation, dependency ordering, pruning safeguards, and secret references.
Kustomize for Kubernetes Configuration Management
Build and review Kubernetes overlays with Kustomize. Learn when to use bases, patches, and generators, and validate rendered manifests before applying them.
DNS-Based Service Discovery: Kubernetes, Consul, and etcd
Learn how DNS-based service discovery works in microservices platforms like Kubernetes, Consul, and etcd, including DNS naming conventions and SRV records.