The official Certified Kubernetes Network Engineer (CKNE) syllabus, organized by domain. Check off each point as you review it.
Inicia sesión para guardar tu progreso entre sesiones.
Installing and Configuring CNI Plugins
The container runtime looks up CNI executables in /opt/cni/bin and configuration in /etc/cni/net.d; on ADD it runs the plugins of a list in order and on DEL in reverse order. Without a network plugin the node stays NotReady and CoreDNS Pending. Cilium is installed with helm install in kube-system, checked with cilium status, and Pods that predate it must be restarted.
Managing IPAM and Pod CIDR Allocation
kube-controller-manager gives each node a spec.podCIDR carved from --cluster-cidr when --allocate-node-cidrs is on, sized by --node-cidr-mask-size. host-local allocates from its ranges and keeps state in /var/lib/cni/networks. Cilium cluster-pool uses CiliumNode and is expanded by appending CIDRs to the list; Service ClusterIPs come from ServiceCIDR objects, not from the Pod range.
Using Linux Tools (iptables, ip, tcpdump) for Packet-level Issues
ip route get shows the route the kernel would use, ip neigh the neighbour resolution state, ip -d link the veth or VXLAN details, and nsenter -t PID -n enters a container's network namespace. iptables-save reveals the KUBE-SERVICES, KUBE-SVC and KUBE-SEP chains; in nftables mode, nft list table ip kube-proxy. tcpdump -i any -n with host and port filters shows whether SYNs arrive and get a reply.
Troubleshooting Pod Connectivity (DNS, pod-to-pod)
To debug DNS from a Pod, check /etc/resolv.conf (nameserver of the kube-dns Service, search domains, ndots), check the CoreDNS Pods (label k8s-app=kube-dns) and their EndpointSlices, and remember that a deny-all egress policy also blocks DNS. Pods talk across nodes without NAT; kubectl debug adds ephemeral containers or opens a node session to capture traffic.
Configuring Multi-interface Pods
Multus is a CNI meta-plugin: it keeps the cluster default network on eth0 and adds extra interfaces defined in NetworkAttachmentDefinition objects (k8s.cni.cncf.io/v1) holding a CNI config such as macvlan, ipvlan or host-device. A Pod requests them with the k8s.v1.cni.cncf.io/networks annotation (namespace/name@interface or JSON) and the result is read from k8s.v1.cni.cncf.io/network-status, with interfaces net1, net2...