k8wiz
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.

Read more about Cilium