liveBook · Manning

VXLAN

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

VXLAN is a network virtualization protocol that encapsulates Layer 2 frames within Layer 3 packets to extend logical networks across routed infrastructure.

VXLAN provides a network overlay for Kubernetes nodes. It encapsulates Layer 2 connections inside Layer 3 packets, adding headers so traffic can route between nodes and reach pods across the existing physical network. section 6.5

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

For cluster administration and CKA preparation:

  • Choose an appropriate CNI plugin; Flannel and Calico are the highlighted exam options, while Kind uses Kindnet. section 6.5
  • Inspect installed networking components with kubectl get ds -n kube-system and verify node and pod readiness afterward. section 6.5
Figure 6.14 Encapsulated packet moving from node to node via CNI
figure

Trace how CNI encapsulation carries a packet from one node to another and routes it toward the destination pod. section 6.5

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

How deep it goes
Explains encapsulation, packet routing, and CNI placement but stops short of detailed VXLAN protocol internals.
Examples
Uses kindnet and Flannel DaemonSets, kubectl output, a two-node kind cluster, and an encapsulated-packet diagram.
What it assumes
Assumes basic server-to-server communication and introduces Kubernetes overlays, CNI, and node-level virtual interfaces.
What you can do after
Operate/configure CNI networking and verify its DaemonSets, nodes, and pods with kubectl.
How it connects
Connects VXLAN with network overlays, CNI, DaemonSets, virtual network interfaces, Flannel, Calico, and Kindnet.

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.