Repository navigation
Conversation
Felix's pod-netns resolution reaches host-mount-namespace paths (pod netns files, the CRI socket) through host PID-1's root at /host/proc/1/root, which works regardless of calico-node's PID namespace and does not require hostPID=true. Mount the host's /proc into calico-node at /host/proc (read-only), reusing the existing "nodeproc" HostPath(/proc) volume. The existing hostPID=true usage for process-path collection is left as-is; converging it is a separate Enterprise follow-up. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Companion Calico PR: projectcalico/calico#13501 (Felix pod-netns resolution). Follow-up (stacked on this one): the CNI-annotations ValidatingAdmissionPolicy delivery + |
|
Heads up - operator development on master has moved into the Calico monorepo at projectcalico/calico, under The move shifted every file down a directory and changed the import prefix, so a plain cherry-pick won't apply. This gets most of the way: Anything the PR touched outside the operator tree ( |
Description
Companion to the calico-side "Resolve pod netns in Felix" change (implements design tigera/designs#62). Felix's new pod-netns resolution reaches host-mount-namespace paths (pod netns files, the CRI socket) through host PID-1's root at
/host/proc/1/root, which works regardless of calico-node's PID namespace and does not requirehostPID=true.This PR bind-mounts the host's
/procinto calico-node at/host/proc(read-only), reusing the existingnodeprocHostPath(/proc) volume. The existinghostPID=trueusage for process-path collection is left as-is; converging it is a separate Enterprise follow-up.pkg/render/node.go(+ node render test). No API change.ValidatingAdmissionPolicydelivery and theInstallation.spec.cniAnnotationsPolicytoggle land in a follow-up PR stacked on this one.Release Note
🤖 Generated with Claude Code