From f96d0ecefdc7cf69e51fe18773815ac2d32733e9 Mon Sep 17 00:00:00 2001 From: IvanHunters Date: Wed, 22 Jul 2026 22:27:59 +0300 Subject: [PATCH] docs(talos-log-collector): clarify node-local traffic exemption is CNI-specific The fallback NetworkPolicy comment presented node-local traffic bypassing a default-deny policy as a universal guarantee; it is CNI-specific behaviour. Reword to state the dependency explicitly and note that the only non-Cilium variant shipped today (noop) does not enforce NetworkPolicy, so the fallback is inert there. Signed-off-by: IvanHunters --- .../talos-log-collector/templates/networkpolicy.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/packages/system/talos-log-collector/templates/networkpolicy.yaml b/packages/system/talos-log-collector/templates/networkpolicy.yaml index 707b7d080..ae531d4d4 100644 --- a/packages/system/talos-log-collector/templates/networkpolicy.yaml +++ b/packages/system/talos-log-collector/templates/networkpolicy.yaml @@ -32,10 +32,13 @@ spec: {{- else }} # No Cilium CRD: fall back to a CNI-agnostic default-deny-ingress policy so the # socket is never offered without protection. This denies ingress from the pod -# network (the injection path) while node-local host traffic keeps flowing, the -# same way liveness/readiness probes from the node are not blocked by a -# default-deny policy; the portmap hostPort path arrives as node-local host -# traffic. +# network (the injection path, whose source is a real pod IP). The node-local +# push path (portmap SNATs the source to the node) keeps flowing on CNIs that +# exempt node-local/health traffic from policy enforcement, as the mainstream +# policy CNIs do; a CNI that instead enforces policy on node-local traffic would +# also block this push path, so on such a CNI keep Cilium or open the port +# explicitly. The only non-Cilium variant shipped today is noop, which does not +# enforce NetworkPolicy at all, so this fallback is inert there. apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: