Watch
0
0
Fork
You've already forked hyperhive
0

k8s: networkmanager leaves the pod network's interfaces unmanaged

This commit is contained in:
atlas 2026-11-28 05:36:49 +01:00 • committed by mara
commit 5cf3ef99a2

View file

@ -56,6 +56,12 @@ cluster of its own beyond that one main node, and it replicates no service.
trusted, so the node reaches its pods. The node-to-node ports are open to
the addresses in `deploy.k8s.nodeAddresses` only, which is empty by default
([Joining nodes](#joining-nodes)).
- **NetworkManager:** a host that runs it tells it to leave `cni0`, the
`flannel*` devices and the pods' `veth*` ends alone, since it otherwise
rewrites the routes of the interfaces the CNI creates in the default
namespace. A host without NetworkManager gets no setting. A joining node
gets the same list. `veth*` also matches other veth pairs with that prefix,
such as podman's.
- **NetworkPolicy:** k3s's own controller (kube-router, iptables) enforces
NetworkPolicy objects; the node doesn't turn it off. The namespace has one
policy, `default-deny-ingress`, that selects every pod and admits nobody, so