How to access the application using URL from Internet, which in deployed on k8s . . .

Swapnil S:
How to access the application using URL from Internet, which in deployed on k8s cluster inside VM?
My application is up and running, the k8s cluster is also working fine, I am able to access the application from NodePort, but I can’t give IP:Nodeport to anyone to access the application, hence I need to map the IP to DNS record. Thinking to use ingress rule and controller. But again I will have to access the application using VM private IP, as the Kubernetes is running on private IP, how to bind the VM private IP with DNS URL?

unnivkn:
Hi @Swapnil S please refer this: https://kubernetes.io/docs/tasks/access-application-cluster/_print/#pg-1839d8468a083839ed1cc8d18fe1142e

Swapnil S:
Thanks @unnivkn