kube-router icon indicating copy to clipboard operation
kube-router copied to clipboard

Globally enable hairpin mode for externalIPs

Open opipenbe opened this issue 1 year ago • 0 comments

Describe the solution you'd like Currently there is a possibilty to globally enable hairpin mode for all services in kube-router using --hairpin-mode, but it only works for ClusterIPs . It would be great if there is possibility to enable hairpin mode globally for all services with externalIPs instead of manually annotating per service: kubectl annotate service my-service "kube-router.io/service.hairpin.externalips="

Describe alternatives you've considered I guess alternative would be to use mutating webhook or policy engine (such as OPA or Kyverno) to annotate services.

opipenbe avatar May 16 '24 15:05 opipenbe