I'm running my angular service with Node IP and NodePort. Now I want to set some dns name for my angular application. Where do I need to set the dns name for Node IP and NodePort? Is there any config file that I need to change?
example: 10.10.10.10/34781(my angular running)
expecting: myangular.deploy.com (How to set this?)
Im expecting to run my application with dns and not with IP and port. Thanks in advance.
You have to use the ingress to expose the service to internet.
Ingress is managed by the ingress controller, you can check this very simple official k8s example.
Read more : https://kubernetes.io/docs/concepts/services-networking/ingress/
However if you are looking for internal communication if your Node and Angular services running in same K8s cluster you can the sericename itself as the internal communication.