Closed midestefanis closed 6 months ago
I can reproduce this. Thanks.
However, in the first place, why do you want to use Global Accelerator for Internal Load Balancer? I don't know what situations you would want it.
InvalidArgumentException: ClientIPPreservation must be enabled for internal facing network load balancer
I got it. This error says when you use internal NLB for Global Accelerator you need to enable ClientIPPreservation in Global Accelerator. It is not an option in TargetGroup. So, I added the option: https://github.com/h3poteto/aws-global-accelerator-controller/pull/147 Please use version 0.11.1. And here is an example service manifest: https://github.com/h3poteto/aws-global-accelerator-controller/blob/08939d798e3114b55e872871aa08febf07727011/config/samples/nlb-internal-service.yaml#L1-L30
The controller is creating and deleting the GA in a loop. It's complaining about the missing ClientIPPreservation argument but that's not accurate, the NLB is configured to Preserve the IP.