~/talk

Everything You Ever Wanted to Know About CNIs (Container Network Interface) and ...

TalkinFrenchat Devoxx France 2024 · 2024-04-17..04-19· [kubernetes, networking]
links:none on file
slides:none on file

Describes how Kubernetes networking actually works at the CNI level: kube-apiserver writes the Pod spec, kubelet asks containerd, containerd creates the pod network namespace and runs CNI binaries (via environment variables and stdin JSON) in sequence (loopback then a plugin like Flannel), the plugin configures eth0 and routes and returns a JSON result which containerd passes back to kubelet so the Pod becomes Running. Shows a wrapper script that pauses and logs CNI calls, warns that nodes can be marked Ready just because a CNI config JSON exists (even if networking is broken), gives the practical debugging tip of using nsenter into the pod network namespace to run tcpdump, and notes the CNI API is evolving toward gRPC.

AI-written summary · about

  1. 0:00Introduction
  2. 4:33Installing and verifying CNI
  3. 12:52Creating a pod and running CNI
  4. 23:30Internal workings summary
  5. 25:34Debugging tips and tricks
  6. 28:43Future evolutions and summary
  7. 29:45Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.