Technology · Ebook
kube-vip: Virtual IP and Load Balancing for Kubernetes
by Shriira Press
kube-vip gives bare-metal, edge, and home-lab Kubernetes clusters what the cloud provides for free: a stable, highly available address for the API server and real external IPs for LoadBalancer Services. It runs inside the cluster, conjuring a floating virtual IP backed by Kubernetes lease-based leader election and announcing it to the network with either gratuitous ARP at Layer 2 or BGP at Layer 3. This book starts with the HA problem and what a virtual IP is, then works through the control plane VIP and its static-pod bootstrap, leader election and failover, both announcement modes in depth, the Services side with its cloud provider and address pools, and finally how to deploy, operate, and troubleshoot kube-vip in production.
Contents
- 1Preface
- 2Chapter 1 — What kube-vip Is
- 3Chapter 2 — The Control Plane Virtual IP
- 4Chapter 3 — Leader Election and Failover
- 5Chapter 4 — ARP and Layer 2 Mode
- 6Chapter 5 — BGP and Layer 3 Mode
- 7Chapter 6 — LoadBalancer Services and the Cloud Provider
- 8Chapter 7 — kube-vip in Practice
