← All Deep Dives
3 min read

Building a Multi-Cluster AI Inferencing Platform on GKE with ArgoCD and Fleets

Patterns from our Google Cloud Next '25 architecture for running resilient, GitOps-driven AI inference across multiple GKE clusters using ArgoCD ApplicationSets and GKE Fleets.

Running production AI inference on a single Kubernetes cluster works well—right up until you hit regional GPU/TPU quota ceilings, need zero-downtime cluster upgrades, or want strict blast-radius isolation between model tiers.

At Google Cloud Next 2025, I shared how pairing GKE Fleets with ArgoCD turns multi-cluster inference from an operational headache into a repeatable GitOps control plane.

Why Single-Cluster Inference Hits a Wall

Inference workloads have different scaling and lifecycle traits than stateless web APIs:

  • Accelerator scarcity: High-demand GPU node pools frequently require spreading capacity across multiple zones, regions, or dedicated clusters.
  • Large container images & model weights: Cold-starting pods requires deterministic pre-pulling, local caching, and careful rollout pacing so you don’t saturate registry egress.
  • Upgrade anxiety: Performing a Kubernetes control-plane or GPU driver upgrade in-place on your only inference cluster creates unnecessary risk.

Treating inference clusters as disposable, Fleet-registered capacity units solves all three problems.

Layer 1: GKE Fleets for Identity, Config & Multi-Cluster Ingress

Registering GKE clusters into a Fleet gives you a consistent control plane across cluster boundaries:

  1. Unified Workload Identity: Pods across clusters share predictable fleet-level IAM bindings to Cloud Storage model buckets and Secret Manager without duplicating per-cluster service accounts.
  2. Fleet-wide DNS & Multi-Cluster Gateway: Traffic can drain cleanly from Cluster A to Cluster B during upgrades or regional capacity shifts using Multi-Cluster Gateway routing.
  3. Consistent Namespace Sameness: Fleet namespace alignment ensures ml-inference carries identical RBAC, network policies, and quota guardrails everywhere.

Layer 2: ArgoCD ApplicationSet for Progressive Fleet Rollouts

Instead of maintaining duplicate Helm values per cluster, use a single ArgoCD ApplicationSet driven by cluster labels (tier, gpu-family, region, wave):

yaml
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
  name: inference-model-servers
  namespace: argocd
spec:
  goTemplate: true
  generators:
    - clusters:
        selector:
          matchLabels:
            workload-class: inference
  strategy:
    type: RollingSync
    rollingSync:
      steps:
        - matchExpressions:
            - key: rollout-wave
              operator: In
              values: ["canary"]
        - matchExpressions:
            - key: rollout-wave
              operator: In
              values: ["prod-primary"]
        - matchExpressions:
            - key: rollout-wave
              operator: In
              values: ["prod-secondary"]
  template:
    metadata:
      name: "inference-{{.name}}"
    spec:
      project: ml-platform
      source:
        repoURL: "https://github.com/org/inference-gitops"
        targetRevision: main
        path: "charts/model-server"
        helm:
          valueFiles:
            - "values-base.yaml"
            - "envs/{{.metadata.labels.env}}.yaml"
      destination:
        server: "{{.server}}"
        namespace: ml-inference
      syncPolicy:
        automated:
          prune: true
          selfHeal: true

Egress Control & Dynamic NAT Patterns

ML platforms frequently need controlled outbound access (pulling verified artifacts, calling external partner webhooks, or telemetry sinks) while keeping VPC egress tightly audited.

Key Takeaways for Your Platform Team

  • Keep clusters cattle, not pets: If you can’t drain a cluster at 2 PM on a Tuesday using Fleet routing + ArgoCD, your single-cluster blast radius is too large.
  • Separate model rollout from infra changes: Infrastructure Terraform updates and model-server ApplicationSet syncs should move on independent pipelines.
  • Instrument queue depth, not just CPU: Autoscale inference pods on request queue depth and KV-cache saturation so latency stays flat under bursty traffic.
Share on LinkedIn ↗ Share on X ↗