---
title: "Federating Clusters for Zero-Downtime Kubernetes"
url: https://daily.dev/posts/federating-clusters-for-zero-downtime-kubernetes-m4fstjakr
source_url: https://linkerd.io/2026/06/24/federating-clusters-for-zero-downtime-kubernetes
type: article
source: "Linkerd"
published: 2026-08-23T12:19:47.689Z
updated: 2026-08-23T12:36:53.203Z
tags: ["kubernetes", "infrastructure", "service-mesh", "gke"]
reading_time: 17
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Federating Clusters for Zero-Downtime Kubernetes

**[Linkerd](https://daily.dev/sources/linkerd)** · 17 min read · 0 upvotes · 0 comments

## Summary

A hands-on walkthrough wires all three Linkerd multicluster modes (federated, flat mirror, and gateway mirror) together across three GKE clusters with full-mesh VPC peering. It covers setting up shared mTLS trust anchors, installing multicluster links, deploying demo services in each mode, and running a chaos test that kills an entire cluster to observe failover behavior. Federated services rebalance automatically with zero errors, while mirrored services correctly return errors since the client explicitly targeted a now-dead cluster. The piece closes with a decision framework for choosing modes, common gotchas (VPC route exchange, regional cluster node multiplication, overlapping CIDRs, controller counts, fixed federated service naming), and a production checklist. A companion GitHub repo provides runnable scripts for a fresh GCP project.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://linkerd.io/2026/06/24/federating-clusters-for-zero-downtime-kubernetes>

## Questions this post answers

### What's the difference between Linkerd federated services and flat mirroring for multicluster Kubernetes?

Federated services union all same-name services across clusters into a single load-balanced endpoint named <svc>-federated, automatically failing over when a cluster goes down. Flat mirroring instead creates explicit per-cluster service names like api-west and api-east, sending traffic directly to remote pods, so the client decides which cluster to target and handles failover itself, useful for data locality.

_Teams weighing automatic failover against explicit cluster control can track service mesh patterns like these on daily.dev._

### Can a single Linkerd Link support both gateway and flat multicluster modes to the same cluster?

No, a single Link custom resource is either gateway or flat, never both. To get both behaviors toward the same cluster, two separate links with different names must be created, each with its own matching service-mirror controller on the consuming clusters, for example a flat link named east and a gateway link named east-gw.

_Engineers wiring multicluster topologies can follow service mesh configuration details on daily.dev._

### Why does a GKE regional cluster create more nodes than expected when using num-nodes 1?

A GKE regional cluster places --num-nodes nodes in each of three zones by default, so --num-nodes 1 actually produces three nodes per cluster rather than one, tripling the bill across multiple clusters. Pinning --node-locations to a single zone keeps CLUSTER_NODE_COUNT=1 to a true single node per cluster.

_Anyone tuning GKE costs for multi-cluster setups can keep track of infrastructure gotchas like this on daily.dev._

## Similar posts on daily.dev

- [Federating clusters for zero-downtime Kubernetes](https://daily.dev/posts/federating-clusters-for-zero-downtime-kubernetes-zxxqifshs) · CNCF · 2 upvotes · 0 comments
- [Multicluster resiliency with global load balancing and mesh federation](https://daily.dev/posts/multicluster-resiliency-with-global-load-balancing-and-mesh-federation-db0rjiq2m) · Red Hat Developer · 2 upvotes · 0 comments
- [Cost-Effective Reliability: Making Sense of Multi-Zone Kubernetes](https://daily.dev/posts/cost-effective-reliability-making-sense-of-multi-zone-kubernetes-rjalhbgjg) · Cloud Native Now · 0 upvotes · 0 comments

---

Tags: [#kubernetes](https://daily.dev/tags/kubernetes), [#infrastructure](https://daily.dev/tags/infrastructure), [#service-mesh](https://daily.dev/tags/service-mesh), [#gke](https://daily.dev/tags/gke)

[View this post on daily.dev](https://daily.dev/posts/federating-clusters-for-zero-downtime-kubernetes-m4fstjakr)
