We are running single page application on azure kubernetes server. These single page apps are running on nginx pod and initially downloaded to user browser. All our backend services are running on on-prem data center and kong cluster is running on -prem data center as well. Any backend services call from user browser/spa will have to go through kong cluster. We dont want calls to happen directly to the kong cluster. so we want to know what is the best way to integrate kubernetes with the kong cluster. I was thinking we could use external name service in k8 that points to loadbalancer that in turn calls kong nodes or we can use kubernetes services headless and define endpoint that points to kong nodes. Need best practice advise please.
Thanks in advance