I am working on an application that will integrate with an external API that performs access restriction via IP whitelisting.
This application is going to be hosted on a Kubernetes cluster (on AWS if that is of any help).
Would there be a way for my application to have a single source IP that I would just register on the 3rd party API?
Technically, I could go ahead and have the API register all the IPs of the worker nodes. But that feels rather clunky and would need to be amended each time the cluster structure changes as new nodes are added, removed, restarted, etc.
I saw some posts about setting up a sort of reverse proxy/request funnel for the application to only come from one source, but this is just essentially defining a single point of failure, which I would really like to avoid.