zalando-incubator / kube-ingress-aws-controller

Configures AWS Load Balancers according to Kubernetes Ingress resources
MIT License
375 stars 83 forks source link

Feature: nlb zone affinity via r53 #694

Closed szuecs closed 2 months ago

szuecs commented 2 months ago

feature: set nlb zone affinity for clients log: log default cross zone and zone affinity config

This enables you to set dns_record.client_routing_policy configuration, such that you can decide for NLB via R53 feature that clients running in the same zone will hit also the same zone of your NLB. This is interesting for cross cluster traffic or traffic that stays in the same cluster but passes the NLB. Valid configurations are:

see also https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html\#load-balancer-attributes and https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html\#zonal-dns-affinity

szuecs commented 2 months ago

I want to test in a dev cluster before merge

AlexanderYastrebov commented 2 months ago

LGTM modulo minor comments.

AlexanderYastrebov commented 2 months ago

:+1:

AlexanderYastrebov commented 2 months ago

:+1:

szuecs commented 2 months ago

:+1:

szuecs commented 2 months ago

Default: image

With zone affinity set: image