Cilium
Hard
Networking
Why do Cilium L2-announced Services with externalTrafficPolicy: Local sometimes drop traffic?
Select your answer:
Show answer and explanation
Answer: The IP may be announced by a node with no local backend pod
Explanation
L2 announcements doesn't take externalTrafficPolicy into account, so the Lease can go to any node the policy selects. With Local, that node must not forward to pods on other nodes, so it drops the traffic when it has no backend. The Cilium docs recommend externalTrafficPolicy: Cluster for announced Services.
More hard Cilium questions
- Hubble reports some drops as POLICY_DENIED and others as POLICY_DENY. What is the difference?
- Cilium runs VXLAN tunnel mode over IPv4 with WireGuard on 1500-byte NICs. What route MTU does it give pod traffic?
- What is the purpose of Cilium's egress gateway feature?
- What is the purpose of Cilium's 'prefilter' feature?
- In Cilium's tunnel mode (VXLAN or Geneve), how does the receiving node learn the security identity of a packet sent by a pod on another node?
- A CiliumNetworkPolicy contains HTTP rules, such as allowing only GET requests to /api. Which component enforces those rules?