how to set dns to azure aks?

Alvin picture Alvin · Nov 20, 2017 · Viewed 8.9k times · Source

I am currently using Azure AKS.

I have a frontend application which is using LoadBalancer to have a public IP to access the service.

Should I just direct my domain name to the public IP address?

Because the IP is dynamic, if the port is destroy and recreate again, a new IP is generated.

Should I use Ingress/Nginx controller to manage the IP?

Answer

Mohit_Garg picture Mohit_Garg · Nov 20, 2017

You can use A record points to the external IP address.

You can change the public IP address to static via Azure portal, in this way, restart the service will not change the IP.

But in Azure, if we delete the Azure AKS, the Public IP address will collected by Azure platform, and we will lose this IP address.