k8gb: Global Load Balancing for Kubernetes cover

Technology · Ebook

k8gb: Global Load Balancing for Kubernetes

by Shriira Press

4.8(159)126 pagesPublished 2026

When one Kubernetes cluster is no longer enough, k8gb steers traffic across clusters spread around the world and routes around the ones that fail. This CNCF sandbox project solves global server load balancing without proprietary appliances or a central control plane, betting instead on DNS, the time-proven naming protocol that already spans the planet. This book covers the global load balancing problem, why DNS is the right foundation, k8gb's architecture of a controller, an embedded CoreDNS with a custom plugin, and external-dns, the single Gslb custom resource and its round-robin, weighted, failover, and geoip strategies, how zone delegation knits clusters together, how health checks ride on ordinary readiness probes, and how to run it all in production.

Contents

  1. 1Preface
  2. 2Chapter 1 — The Global Load Balancing Problem
  3. 3Chapter 2 — Why DNS, and What k8gb Is
  4. 4Chapter 3 — Architecture and Components
  5. 5Chapter 4 — The Gslb Resource and Load Balancing Strategies
  6. 6Chapter 5 — DNS Delegation and Exposing CoreDNS
  7. 7Chapter 6 — Health, Coordination, and Failover
  8. 8Chapter 7 — k8gb in Practice