I've read a lot about Services (NodePort and LB) https://kubernetes.io/docs/concepts/services-networking/service/ but I still have dilemma what to use. I have AKS cluster in Azure. In the same Virtual Network I have VM outside the cluster that should target specific app, container pod on port 9000. App in container pod is being run on Port 9000. I have two options:
I am really confused what should I choose. I will appreciate advices.
Thank you
There is a good option to create Internal Load Balancer which is accessible only within Virtual Network.