k8wiz
Cilium
Medium
Troubleshooting

A CiliumL2AnnouncementPolicy with only a nodeSelector and interfaces applies cleanly, yet no Service IP is announced. Why?

Select your answer:

Show answer and explanation

Answer: loadBalancerIPs and externalIPs both default to false

Explanation

The loadBalancerIPs and externalIPs fields decide which kinds of IPs get announced, and both are false by default, so the policy announces nothing. Set loadBalancerIPs: true to announce addresses from LB IPAM. Leaving out serviceSelector is fine, because it then selects every eligible Service.

Read more about Cilium