"My CNI Plugin Did… What?!": Debugging CNI with Style & Aplomb
summary
Shows concrete steps to debug CNI: locate the CNI binary and config directories, check kubelet args (config may be non‑default), and remember the alphabetically first config gates node Ready. Demonstrates using cnitool to create a netns, run CNI ADD/DEL, and inspect stdout; provides a dummy CNI plugin to swap in and add logging. Builds a kind cluster, loads a Calico + multus setup, crashes plugins on purpose, and contrasts thin vs thick plugins (one‑shot binary vs shim + pod) to show what works and what remains fragile.
AI-written summary · about
chapters (14)
- 0:00Start
- 0:57Introduction to Cni
- 1:09Basics for Cni Debugging
- 5:54Make a Ci Plugin
- 7:01Dummy Cni Plug-In
- 7:30Chained Cni Plugins
- 12:14Quick Tips for Debugging
- 12:48Logging
- 14:55Cna Tool
- 16:36Demo
- 18:01How Do I Add a Secondary Network Interface or a Secondary Network
- 21:35Sample Configuration
- 26:24Cni Shim
- 32:05What Software Did You Use To Make the Demo
related talks
33mKubernetes Networking: How to Write a CNI Plugin From Scratch
31mEverything You Ever Wanted to Know About CNIs (Container Network Interface) and ...
32mDemystifying CNI Writing a CNI from Scratch
37mIntroduction to CNI, the Container Network Interface Project
45mGoldie of Gold and the Three CNIs
37mKubernetes and the CNI: Where We Are and What's Next - Casey Callendrello, CoreOS
31mMayday! CNI Overboard!
39mDeep Dive: CNI
