The three corpus items are not three bugs. They are three doors into the same room: kernel state that the cluster believes it controls and does not.

Chain 1 — the upgrade that verifies on the wrong kernel

  1. A cluster runs Calico 3.32 on Ubuntu 22.04 with 5.15. The dataplane is healthy; bpfLogLevel is Debug because someone turned it on and never turned it off.
  2. The operator upgrades to 3.33. The new calico-node starts and loads its programs.
  3. On 5.15, the host-endpoint program exceeds the verifier's processed-instruction budget. The load fails with -E2BIG; the agent cannot bring the dataplane up.
  4. Either the node never becomes ready — the loud version — or some programs attach and the policy path does not. The quiet version looks like a working cluster.

The record for this class is #10911 on 3.30: "fail to load some of calico 3.30 programs … would break networking after upgrade to 3.30", most likely only with debug logging. The 3.33 recurrence is third-party and not in the release notes.

What operators see: calico-node CrashLoopBackOff or NotReady, verifier errors in the agent log, and — in the quiet variant — nothing at all.

Chain 2 — the XDP program that someone else removed

  1. Cilium runs with loadBalancer.acceleration=native on a node that also has Calico installed, or a leftover Calico Felix still running.
  2. Cilium attaches its XDP program at the driver hook; bpftool net shows xdp: ens6f0np0(...) driver id ....
  3. Felix's XDP state machine reconciles, finds no pin under /sys/fs/bpf/calico/xdp/, and removes the XDP program from the interface.
  4. Cilium's acceleration silently stops. NodePort and DSR traffic falls back to a slower path or drops, depending on configuration.

That is #17540. The Cilium agent is healthy, the Kubernetes objects are unchanged, and the only evidence is a missing xdp: line in bpftool net and a Felix log line about removing a program from an interface it does not own.

What operators see: intermittent service access failures, no Cilium errors, and bpftool net output that no longer matches the configuration.

Chain 3 — the uninstall that leaves a binary behind

  1. Cilium is installed, then removed, and another CNI is installed.
  2. /opt/cni/bin/cilium-cni (and sometimes cilium-cni.old) survives, because it was installed by Cilium, not by the Kubernetes CNI package.
  3. The kubelet reads /etc/cni/net.d, finds a conflist that still points at cilium-cni, and invokes it.
  4. The binary tries to reach /var/run/cilium/cilium.sock, which no longer exists. Pod sandbox creation fails with a Cilium error on a cluster that has no Cilium.

This is #87884. It survives cluster resets and etcd wipes because neither touches /opt/cni/bin. Kernel state — tc programs, XDP pins, routes, links — can survive too; the filesystem leftover is simply the one that produces the misleading error message.

What operators see: FailedCreatePodSandBox naming Cilium, on a cluster where kubectl get pods -n kube-system shows none.

The common structure

All three share four properties:

  • The control plane is not the source of truth. The API server says the policy exists, the CNI is installed, or the uninstall completed. The kernel says otherwise.
  • The failure is local to a node but decided globally. One DaemonSet spec rolls everywhere at once; one kernel version is uniform across the fleet.
  • The loud failure hides the quiet one. An operator who sees pods fail will fix connectivity. An operator who sees nothing will ship the segmentation gap to production.
  • The evidence is below Kubernetes. bpftool net, cilium bpf policy get, /sys/fs/bpf, /opt/cni/bin, ip link, ip route.

The test that catches all three

Connectivity tests prove the network forwards, not that policy is enforced. The control that catches the quiet variant is a deny-path assertion: two namespaces, a default-deny policy, a connection that must fail, and an alert if it succeeds.

Run it continuously, on every node, after every CNI or kernel change. It is the only test that fails when the dataplane is present but the policy is not.

Next: Part 10 — pin, test, clean: the remediation ladder, the kernel preflight, and the two upstream fixes this series verified.