~/talk

Kubernetes Networking: How to Write a CNI Plugin From Scratch

Talkat KubeCon + CloudNativeCon Europe 2019 · on Thursday, 2019-05-23· at 16:45· Hall 8.0 C2· [networking, kubernetes]
speakerdeck:eranyanay
slides:none on file

Bash CNI plugin implements ADD/DEL, creates a bridge + veth pair, moves one end into the pod netns, assigns IPs by incrementing a file, and sets iface up with ip and iproute2; demo runs on two nodes with per-node pod CIDRs and shows pods get addresses (.4/.5) but need explicit iptables FORWARD and MASQUERADE plus static inter-node routes to reach other nodes; no long‑running daemon is provided so node-level rules are applied manually and connectivity works after those changes.

AI-written summary · about

  1. 0:00Start
  2. 1:24What is CNI?
  3. 4:10What a CNI plugin is made of?
  4. 6:05The weave example..
  5. 8:25How a CNI plugin is being used in K8s?
  6. 10:11How a CNI plugin is executed?
  7. 11:43Anatomy of pod networking
~/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.