Cilium IPAM

Kubernetes pods are transient resources with dynamic IP addresses. For this reason, IPAM is a central component of Kubernetes administration.

In tunneling mode, Kubernetes IPAM is usually configured to distribute IP addresses from a reserved private range, which is the most simple option.

In direct routing mode, where the aim is to integrate the Kubernetes platform into the underlying network fabric, IPAM can become more complex and require more advanced options.

In this lab, we will explore the various IPAM options provided by Cilium.

DifficultyIntermediate
VersionOpen Source
TopicsNetworking
ProjectCilium

Main steps in the lab

01☸ Kubernetes Host Scope (and GKE)

The simplest mode

02🏠 Cluster Scope

The default mode

03🏘️ Cluster Scope with Multiple CIDRs

Default mode, advanced usage

04🏡 Multi-Pool

The most flexible IPAM mode!