k8wiz
Cilium
Easy
Networking

Which annotation lets two LoadBalancer Services get the same IP from Cilium LB IPAM?

Select your answer:

Show answer and explanation

Answer: lbipam.cilium.io/sharing-key

Explanation

Services with the same lbipam.cilium.io/sharing-key value share an IP as long as their ports don't conflict. The lbipam.cilium.io/ips annotation requests specific addresses but doesn't make Services share one. Sharing across namespaces also needs the lbipam.cilium.io/sharing-cross-namespace annotation on both Services.

Read more about Cilium