liveBook · Manning

Kindnet

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

kindnet is the default Container Network Interface plugin used by kind clusters for local container networking.

kindnet is the default Container Network Interface (CNI) plugin for kind clusters. It runs as a DaemonSet in kube-system and provides the node-level networking used by local pods. section 6.5 section 2.3.2

When Kubernetes schedules a pod, the container runtime invokes the CNI to configure interfaces, IP addresses, and routes; removing the pod triggers network cleanup. kindnet uses the CNI point-to-point plugin with port mapping. section 2.3.2

Verify and inspect kindnet with these administrator checks:

  • Check its DaemonSet: kubectl -n kube-system get ds kindnet. section 2.3.2
  • Inspect its configuration in /etc/cni/net.d/10-kindnet.conflist. section 2.3.2
  • Use the CNI configuration and DaemonSet state when troubleshooting pod communication across nodes. section 6.5 section 2.3.2

Inspect the configuration

The configuration identifies the kindnet network, uses cniVersion 0.3.1, assigns addresses from 10.244.0.0/24 through host-local IPAM, and enables portMappings through the portmap plugin.

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

How deep it goes
Explains lifecycle, DaemonSet deployment, configuration location, and plugin composition, while deferring advanced CNI replacement details.
Examples
Uses kubectl DaemonSet output and a 10-kindnet.conflist containing point-to-point, host-local, and portmap plugins.
What it assumes
Assumes familiarity with Kubernetes pods and nodes while introducing CNI responsibilities from interface setup through teardown.
What you can do after
Diagnose/debug with kubectl and the CNI configuration directory, and prepare to replace kindnet with another CNI.
How it connects
Connects container networking with CNI plugins, DaemonSets, pod scheduling, IP addresses, routes, and network policies.

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.