liveBook · Manning

Overlay network

As explained in Acing the Certified Kubernetes Administrator Exam, Second Edition

A network overlay is a virtual network abstraction built on top of an existing physical network to provide connectivity between workloads or nodes.

An overlay network provides a virtual network on top of an existing physical network, giving Kubernetes pods connectivity without requiring a dedicated physical address for every pod. A VXLAN encapsulates Layer 2 traffic over Layer 3 and adds headers that help route packets between nodes. section 6.5

Kubernetes commonly implements the overlay through the Container Network Interface (CNI). A CNI plugin runs as a DaemonSet, creates a virtual network interface in each node’s root namespace, and mediates packet flow into and out of the node. section 6.5

For Kubernetes administration and CKA preparation:

  • Recognize Flannel and Calico as relevant CNI choices; Kindnet is used by kind clusters. section 6.5

Verify the overlay DaemonSet

Run kubectl get ds -n kube-system and confirm the CNI DaemonSet has desired, current, ready, and available instances on the nodes. A kind cluster reports kindnet; a Flannel installation reports kube-flannel pods running across nodes.

How Acing the Certified Kubernetes Administrator Exam, Second Edition covers it

How deep it goes
Explains VXLAN encapsulation, CNI interfaces, DaemonSet deployment, plugin choices, and kubectl verification, but not detailed packet configuration.
Examples
Uses kindnet and Flannel DaemonSets, kubectl get ds -n kube-system, and running kube-flannel pods as verification artifacts.
What it assumes
Assumes an existing physical network and basic Linux container networking; introduces overlays, VXLAN, and CNI roles.
What you can do after
Operate/configure a Kubernetes CNI and verify its node-level DaemonSet and pod status with kubectl.
How it connects
Connects Kubernetes networking with VXLAN, CNI, DaemonSets, Linux containers, Flannel, Calico, and kind.

Also explained in

Compare how 2 books explain overlay network →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Acing the Certified Kubernetes Administrator Exam, Second Edition. The section links point to the parts of the book it draws on.