#Tag
Posts tagged "cilium"

When the endpoint checks nobody, the network is the only lock
My local model server answers anyone who can reach its port, so the network policy in front of it is not one layer of many; it is the only lock. When an endpoint cannot refuse a caller, the rule that decides who may connect is its login check, and it deserves the review, the testing and the suspicion of side doors a login check would get.

A pinned address is only pinned for the allocator that reads it
An address pin is an annotation addressed to one allocator, so when Cilium's LB-IPAM replaces MetalLB, any Service whose address it cannot import is unpinned, the carefully pinned ones included. Rewrite each claim in the incoming allocator's terms while the old one still holds every address, read it back, and make the removal a step of its own.

The best migrations delete more than they install
Nobody chose our network stack - it accreted one default at a time, and every component was one more thing to version, patch, debug and alert on. Landing on Cilium wasn't an adoption; it was a demolition schedule, and the stack left standing is smaller than the one we started with.

Observe first, deny second
Everyone writes network policy from the architecture diagram, and the diagram is always wrong. The only allowlist that survives contact with production is one written from the flows you actually watched - applied out-of-band, proven enforcing, and only then handed to GitOps.

SNAT ate my source IP
A LoadBalancer service with the default traffic policy rewrites every incoming packet's source to the node's own address, so by the time a network policy sees it, the real client is gone. You cannot allowlist a sender the network has already erased.

