
What the Certified Kubernetes Network Engineer exam tests: two hours of hands-on tasks on real clusters, graded on what the cluster does. The five exam areas and their weights, and how each topic in this course runs: concept first, then a lab you can check like an exam task.
Set up your lab: Docker, kind, kubectl, Helm and jq on Ubuntu or an Apple silicon Mac. Every lab runs four ways: all at once (lab.sh run), one step at a time (lab.sh step N), as a check that grades your cluster (lab.sh check), or by hand from the copy-and-paste walkthrough in its README.
Lab repository: https://github.com/cloudbrdesign/ckne-labs
The habits that save time in a hands-on exam: confirm the context, get onto the right node, look up fields with kubectl explain, generate YAML instead of writing it, and verify from inside the cluster like the grader does.
Our real run of lab 0.3: contexts, a shell on a node, kubectl explain, a Deployment and Service from generated YAML, and a probe pod that tests it from inside the cluster.
Lab files: https://github.com/cloudbrdesign/ckne-labs/tree/main/labs/m00/0.3-exam-workflow
The rules every Kubernetes network follows: every pod gets its own IP, pods reach each other without NAT, and agents on a node reach that node's pods. What those rules mean for a packet, and what Kubernetes leaves to the network plugin.
The CNI contract between the container runtime and a network plugin: ADD, DEL and CHECK, the config in /etc/cni/net.d, and the plugin programs in /opt/cni/bin. How a veth pair and a route give a pod its network, and how a missing CNI shows up on a node.
Our real run of lab 1.2: a cluster with no network plugin, a CNI config written by hand on each node, routes between nodes, and two pods on different nodes that reach each other without NAT.
Lab files: https://github.com/cloudbrdesign/ckne-labs/tree/main/labs/m01/1.2-cni
Three layers of pod addressing: the cluster's pod range, each node's slice of it, and the single address the IPAM plugin hands each pod. Where each layer is set, where to read it, and what happens when ranges overlap or run out.
Our real run of lab 1.3: the cluster CIDR on the controller manager, each node's podCIDR, pod IPs inside their node's slice, host-local's records on a node, and the separate Service range.
Lab files: https://github.com/cloudbrdesign/ckne-labs/tree/main/labs/m01/1.3-ipam
Follow one packet from pod to pod with the tools you'll use in the exam: ip for interfaces and routes, iptables for kube-proxy's Service rules, and tcpdump to watch the packets on the wire.
Our real run of lab 1.4: a pod's veth on the node, the node's routes to other nodes' pods, kube-proxy's rules for a Service, and six packets captured with tcpdump.
Lab files: https://github.com/cloudbrdesign/ckne-labs/tree/main/labs/m01/1.4-linux-tools
A method for a request that fails: start from the symptom, check DNS, then the Service and its endpoints, then the path. The usual causes at each layer, and the one command that reveals each.
Our real run of lab 1.5: a cluster that arrives broken. A pod asking the wrong DNS server, a Service whose selector matches nothing, and the fix for each. Try the lab yourself before you watch.
Lab files: https://github.com/cloudbrdesign/ckne-labs/tree/main/labs/m01/1.5-troubleshoot
When a pod needs a second network: how Multus sits in front of the cluster's CNI, how a NetworkAttachmentDefinition describes the extra network, and how a pod asks for it with an annotation.
Our real run of lab 1.6: CNI reference plugins and Multus on a Cilium cluster, a bridge network defined as a NetworkAttachmentDefinition, and two pods that ping each other over net1.
Lab files: https://github.com/cloudbrdesign/ckne-labs/tree/main/labs/m01/1.6-multus
Why pods need a stable front door, and how the Service types nest: ClusterIP inside NodePort inside LoadBalancer, plus ExternalName and headless Services. How each type fails, and why a pending LoadBalancer still works inside the cluster.
Our real run of lab 2.1: a ClusterIP, a NodePort reached through every node, a LoadBalancer that stays pending on kind, an ExternalName CNAME and a headless Service that returns pod IPs.
Lab files: https://github.com/cloudbrdesign/ckne-labs/tree/main/labs/m02/2.1-services
How kube-proxy turns Services into kernel rules, why iptables mode struggles at scale, and what nftables mode builds instead: one map lookup per packet and a random pick of endpoint.
Our real run of lab 2.2: the service-ips map and a Service chain read on a node, rewritten live as the Deployment scales to three pods and to zero.
Lab files: https://github.com/cloudbrdesign/ckne-labs/tree/main/labs/m02/2.2-kube-proxy
What eBPF and Cilium are, and how Cilium handles Services without kube-proxy: Service maps in the kernel and load balancing at the socket. How to prove kube-proxy is really gone.
Our real run of lab 2.3: a cluster with no kube-proxy, KubeProxyReplacement True, a Service in cilium-dbg service list, and no KUBE-SVC rules on the node.
Lab files: https://github.com/cloudbrdesign/ckne-labs/tree/main/labs/m02/2.3-cilium-kpr
How pods resolve names, how CoreDNS is built from plugins in the Corefile, and how to send one domain to another DNS server. Why a change takes a while to reach every CoreDNS pod.
Our real run of lab 2.4: a company DNS server for corp.example, a stub domain added to the Corefile, and a pod that resolves both corporate and cluster names.
Lab files: https://github.com/cloudbrdesign/ckne-labs/tree/main/labs/m02/2.4-coredns
Why EndpointSlices replaced Endpoints, what the ready, serving and terminating conditions mean, and how readiness probes and preStop hooks decide which pods get traffic.
Our real run of lab 2.5: a pod that fails readiness leaves the rotation, a pod that is shutting down shows serving and terminating, and traffic goes only to ready pods.
Lab files: https://github.com/cloudbrdesign/ckne-labs/tree/main/labs/m02/2.5-endpointslices
A cluster that arrives broken: three Services that fail in three different ways. Find and fix each fault, then watch how we did it, layer by layer.
Lab files: https://github.com/cloudbrdesign/ckne-labs/tree/main/labs/m02/2.6-troubleshoot-services
The problem with Ingress, and how Gateway API splits the job by role: GatewayClass, Gateway and HTTPRoute. How a request is matched, rewritten and split by weight, and how to read status top down.
Our real run of lab 2.7: a Gateway with an address from Cilium LB IPAM, an HTTPRoute that rewrites a path and splits traffic 80/20 between two versions.
Lab files: https://github.com/cloudbrdesign/ckne-labs/tree/main/labs/m02/2.7-gateway-api
Why a LoadBalancer Service stays pending without a cloud, and the two jobs that fix it: allocating an address (Cilium LB IPAM) and announcing it to the network (L2 announcements, answering ARP, or BGP, advertising a route). How each way fails, and the order to check them in.
Our real run of lab 3.1: a pending Service, a pool of addresses, an address nobody answers for, an L2 announcement lease and the MAC that answers, then an FRR router that learns the Service's address over BGP from all three nodes.
Lab files: https://github.com/cloudbrdesign/ckne-labs/tree/main/labs/m03/3.1-lb-ipam-bgp
Why pods leave the cluster with their node's address, why that breaks firewalls and partner allow-lists, and how a CiliumEgressGatewayPolicy sends one workload's traffic out through a gateway node with a predictable address. What happens when no gateway matches.
Our real run of lab 3.2: an outside server that reports who is calling, two billing pods seen as two different nodes, then one gateway address for both after the policy. Remove the gateway label and the traffic is dropped, not leaked.
Lab files: https://github.com/cloudbrdesign/ckne-labs/tree/main/labs/m03/3.2-egress-gateway
The cluster as a hard boundary, and two ways through it: the Kubernetes Multi-Cluster Services API and Cilium global Services. How Cilium Cluster Mesh joins clusters, its requirements, and how affinity prefers local backends and fails over to the other cluster.
Our real run of lab 3.3: two clusters with the same app, a shared certificate authority, Cluster Mesh in both, a global Service split across clusters, then local affinity and failover when the local app scales to zero.
Lab files: https://github.com/cloudbrdesign/ckne-labs/tree/main/labs/m03/3.3-clustermesh
Why LLM requests need smarter routing than a Service, and how the Inference Extension adds an InferencePool and an endpoint picker to Gateway API. One request step by step, where the picker comes from, and what FailOpen and FailClose mean in practice.
Our real run of lab 3.4: three simulated model servers, an InferencePool with llm-d's endpoint picker, an Istio Gateway and route, the picker's scores for one request, and what happens when the picker is stopped.
Lab files: https://github.com/cloudbrdesign/ckne-labs/tree/main/labs/m03/3.4-inference-gateway
Why every pod can reach every other pod by default, and how a NetworkPolicy says who may talk to whom. When a pod becomes isolated, why policies only add up, the two jobs of the selectors, and the one-dash difference between AND and OR.
Our real run of lab 4.1: two namespaces and a database everyone can reach, a policy that allows only api, the monitor allowed with both selectors in one entry, the outsider let in by one extra dash, then the policy read back with describe.
Lab files: https://github.com/cloudbrdesign/ckne-labs/tree/main/labs/m04/4.1-networkpolicy
Least privilege for a namespace: one default-deny policy for both directions, the DNS surprise that breaks name lookups, then opening each path narrowly with labels, ports and ipBlock. What Cilium adds: DNS-based rules and deny policies.
Our real run of lab 4.2: an app that can reach everything, a default deny that blocks it all starting with DNS, then four small policies that each open exactly one path, while a second outside server stays blocked.
Lab files: https://github.com/cloudbrdesign/ckne-labs/tree/main/labs/m04/4.2-default-deny
Why policies don't hide what's said, and how Cilium's transparent encryption fixes it. How WireGuard keys and tunnels work, how to turn it on and validate it, exactly what is and isn't encrypted, and the first-packets window we hit ourselves on Ubuntu.
Our real run of lab 4.3: a card number read in clear text on the wire, WireGuard switched on with two Helm values, every agent with two peers, then only UDP 51871 on the wire, while the tunnel device itself still shows the clear text.
Lab files: https://github.com/cloudbrdesign/ckne-labs/tree/main/labs/m04/4.3-wireguard
Where TLS lives in Gateway API, how cert-manager Issuers sign certificates, and how one annotation on a Gateway gets a certificate for every HTTPS listener with a hostname, renewed and repaired automatically. How it fails silently, and what to check.
Our real run of lab 4.4: a private CA, a Gateway with one annotation and a Certificate nobody wrote, curl failing without the CA and working with it, the certificate's dates, then a deleted Secret replaced with a new serial number.
Lab files: https://github.com/cloudbrdesign/ckne-labs/tree/main/labs/m04/4.4-cert-manager-tls
Workload identity from service accounts, mutual TLS, and Istio ambient mode with ztunnel and HBONE. Why joining the mesh locks nothing yet, PERMISSIVE versus STRICT, AuthorizationPolicy by identity, and why an L7 rule at ztunnel denies everyone.
Our real run of lab 4.5: three clients reading a ledger in clear text, one namespace label that moves the traffic to HBONE, STRICT refusing the app outside the mesh, an identity-based policy denying the intruder, and an L7 rule that denies everyone.
Lab files: https://github.com/cloudbrdesign/ckne-labs/tree/main/labs/m04/4.5-istio-ambient-authz
Why kubectl can't show network health, and how metrics can. Cilium's own metrics versus Hubble's metrics about your pods' traffic, how Prometheus pulls them, counters, rate() and percentiles, the four health questions, and why DNS and HTTP metrics need an L7 rule.
Our real run of lab 5.1: raw counters from an agent, Prometheus scraping Hubble, two policies that turn on DNS and HTTP visibility, then drops by reason, DNS errors and HTTP status codes in PromQL, traced back to the flows with hubble observe.
Lab files: https://github.com/cloudbrdesign/ckne-labs/tree/main/labs/m05/5.1-hubble-metrics
How a trace follows one request through every hop: spans, parents and timelines, why the application must forward trace headers, why ambient mode needs a waypoint to trace, configuring a provider and sampling with the Telemetry API, and how to find the slow hop.
Our real run of lab 5.2: Bookinfo in the ambient mesh with nothing traced, a waypoint and Telemetry that trace every request, a four-span trace, then a 2-second delay on ratings found in the trace and removed.
Lab files: https://github.com/cloudbrdesign/ckne-labs/tree/main/labs/m05/5.2-tracing
Logs as the record you keep: the Hubble exporter writing every flow as JSON lines, and policy audit mode, which applies a policy but only logs what it would drop. Reading an audit, fixing the policy, enforcing it, and the restart that silently ends an audit.
Our real run of lab 5.3: flows in a JSON log file, a policy applied in audit mode that flags a forgotten client and an intruder, the policy fixed, then enforced so the log shows the intruder DROPPED with POLICY_DENIED.
Lab files: https://github.com/cloudbrdesign/ckne-labs/tree/main/labs/m05/5.3-flow-logs-audit
What the Linux Foundation has published about the CKNE: 15 to 20 tasks in 2 hours, one host per task, automatic scoring. The arithmetic, two passes, one routine for every task, what you may look up, how to verify like the grader, and the environment details that cost minutes.
Our solution run of mock exam 1, replayed task by task: pod CIDRs and CNI config, a broken Service selector, NodePort, CoreDNS hosts, HTTPRoute with a rewrite, a canary, LB IPAM, an egress gateway, NetworkPolicy, HTTPS on the Gateway, ambient mesh authorization, Hubble drops and the exporter. Before: 0/15. After: 15/15.
Lab files and written solutions: https://github.com/cloudbrdesign/ckne-labs/tree/main/labs/m06/6.2-mock-exam-1
Our solution run of mock exam 2: a pod's veth peer, tcpdump, headless and ExternalName Services, forwarding a DNS zone, internal traffic policy, header routing and header filters, L2 announcements, an HTTP-level policy, an egress allow list, WireGuard, strict mTLS, access logs and policy audit mode, and the order trap between them.
Lab files and written solutions: https://github.com/cloudbrdesign/ckne-labs/tree/main/labs/m06/6.3-mock-exam-2
Our solution run of mock exam 3: tunnel protocol and MTU, a wrong target port, session affinity, a pod's DNS settings, an HTTPS redirect and a response header, a waypoint and a route inside the mesh, namespace isolation and a Cilium deny rule, a GET-only Istio policy, certificate lifetimes, DNS in Hubble and Hubble metrics.
Lab files and written solutions: https://github.com/cloudbrdesign/ckne-labs/tree/main/labs/m06/6.4-mock-exam-3
This course contains the use of artificial intelligence. The narration uses an AI-generated voice, and AI tools helped draft the scripts and build the animations. Every terminal output on screen comes from a real lab run, with its date.
Every pod says Running, the Service looks fine, and still nothing gets through. Finding out why is the job of a Kubernetes network engineer, and it's exactly what the Certified Kubernetes Network Engineer (CKNE) exam tests: two hours of hands-on tasks on real clusters, graded on what your cluster does.
This course covers all five of the exam's domains in depth: Core infrastructure and CNI, Service networking and DNS, Advanced traffic management, Network security and policy, and Observability. It ends with exam practice: exam strategy and three timed mock exams of 15 tasks each, graded by a check script, each followed by a solutions walkthrough.
Understand first, then prove it. Every topic starts with an animated lesson on the why and the how: how a pod gets its address, how a Service finds its pods, how an address outside the cluster finds its way in. Then a lab on your own machine proves it, and a check grades your cluster the way an exam task is graded.
What's inside
Animated video lessons with English captions. Thin-line diagrams drawn as they're explained, a pause-and-decide question in every lesson, and the failure modes you'll meet in the exam: the symptom, and the command that reveals it.
Hands-on labs on your own machine, at no cost. Local kind clusters, tested on Ubuntu and on an Apple silicon Mac. Each lab runs three ways: all at once, one step at a time, or as a check that prints pass or fail for each requirement. Every lab also has a written walkthrough to type along with. All lab files are in the course's public GitHub repository, linked in every lab lecture.
Lab videos that replay our real runs, so you can follow along before you type anything.
PDF notes for every concept lesson: the problem each feature solves, the alternatives, and the sources.
What's covered
Module 0, Welcome: what the CKNE tests, your lab, and working like the exam (context, nodes, kubectl explain, generating YAML, verifying like the grader).
Module 1, Core infrastructure and CNI: the Kubernetes network model, how a CNI plugin gives a pod its network (built by hand), IPAM and pod CIDRs, Linux tools on a node (ip, iptables, tcpdump), troubleshooting pod connectivity and DNS, and multi-interface pods with Multus.
Module 2, Service networking and DNS: Service types, kube-proxy rules on a node, replacing kube-proxy with Cilium, customising CoreDNS, EndpointSlice conditions, broken-Service scenarios, and Gateway API.
Module 3, Advanced traffic management: LoadBalancer on bare metal with Cilium LB IPAM, L2 announcements and BGP; egress gateways with a predictable source address; cross-cluster service discovery and failover with Cilium Cluster Mesh; and the Gateway API Inference Extension for LLM traffic, with Istio and an endpoint picker.
Module 4, Network security and policy: NetworkPolicy, default deny that keeps DNS working, node and pod encryption with WireGuard, TLS certificates for Gateway API with cert-manager, and pod-level authentication and authorisation with Istio ambient mTLS and AuthorizationPolicy.
Module 5, Observability: network health from metrics with Hubble and Prometheus, end-to-end tracing with Istio and Jaeger, and auditing traffic with Hubble flow logs and Cilium's policy audit mode.
Module 6, Exam practice: exam strategy, then three timed mock exams, 15 tasks in two hours each, graded by a check script on what your cluster does. Each mock has a solutions walkthrough video and written solutions.
Important
Labs are tested on Ubuntu 24.04 and on macOS (Apple silicon) with Docker, kind, kubectl, Helm and jq (the Module 5 labs and the mock exams so far on Ubuntu); other systems may work but are untested. Exam details are as published when each lesson was recorded; check the Linux Foundation's exam page before you book. This is an independent course, not affiliated with or endorsed by the Linux Foundation, the Cloud Native Computing Foundation, the Cilium project or the Istio project.