A worker reaches no link-local or cloud metadata address by name or literal: with Cilium they are denied by address, except a NodeLocal DNSCache and the installation's own; without Cilium the public rule also leaves out 100.64.0.0/10¶
Decision 856 · accepted · 2026-10-11 · issue #361
Issue #361, what #355 (758) left. 758 kept a profile from naming a loopback or link-local address, but a worker could still reach a cloud's metadata service three ways.
- With Cilium, a name. A
toFQDNsrule admits a name at whatever address its DNS answer carries, so a name inallowedEgresspointed at169.254.169.254reached it, and nothing where the name is typed can see that. TheCiliumNetworkPolicynow has anegressDenyrule, atoCIDRSetof169.254.0.0/16,fe80::/10and the two metadata addresses below (Reach.denied/1). Cilium takes a deny before any allow, of this policy or another, so it holds whatever name leads there. - Two metadata addresses outside link-local. EC2 serves IPv6 metadata at
fd00:ec2::254, a unique-local address, and Alibaba Cloud at100.100.100.200. Both are now inReach's refused list as "cloud metadata" addresses, one address each, so a profile naming either is refused and reported as link-local is (749, 752, 758), and both are in the deny. The rest offd00::/8is unchanged: an office network's unique-local address is still that one address. - Without Cilium,
100.64.0.0/10. The public rule now leaves out the shared address space as it does the private ranges (Reach.excepted/0). An endpoint there, the installation's or a profile's, is admitted only when given as its address, as one at a private address is (724, 752); only100.100.100.200is refused outright. Refusing the whole range was not chosen: hosted object stores answer at internal addresses in it, and so may an installation's gateway on an overlay network, which "unless an installation's own endpoint is there" in the issue allows. With Cilium the range needs nothing: it is reached only by a name or address the allowlist holds. - What the deny leaves out. The installation's own OpenBao and object store given as
an address inside a denied block are excepted from it (as
/32,/128), and one that is a whole block takes that block out, since 758 keeps them the installation's choice and the deny would otherwise undo thetoCIDRthat admits them; a name of theirs is not, as nothing can know where it resolves. And169.254.20.10, where a NodeLocal DNSCache listens in its own manifests and most clusters that run one. No rule of Troupe's admits it (the DNS rules select the resolver's pods), so the except opens nothing; it keeps a policy an installation adds to a worker namespace for its DNS cache (724's remedy) from being undone by ours. A cluster whose cache listens elsewhere in169.254.0.0/16would need a setting; none is added until one asks. - Also the unspecified address.
0.0.0.0and::connect to the host connecting, so from a pod to the pod: refused as "unspecified", like loopback. Loopback and unspecified are not in the deny, since a pod's traffic to itself is not subject to the policy. - The condition's reason stays
LoopbackOrLinkLocal, which the console and anything watching it read; the message names the new kinds.
Governs: apps/troupe_operator/lib/troupe/operator/resources.ex, apps/troupe_protocol/lib/troupe/worker_profile/reach.ex