kube-router
kube-router copied to clipboard
Globally enable hairpin mode for externalIPs
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.