<p>Question regarding AKS, each time release CD. The Kubernetes will give random IP Address to my services. <br/>
I would like to know how to bind the domain to the IP?</p>

<p>Can someone give me some link or article to read?</p>

Herman
<p>You have two options.</p>

<p>You can either deploy a Service with <code>type=LoadBalancer</code> which will provision a cloud load balancer. You can then point your DNS entry to that provisioned LoadBalancer with (for example) a CNAME.</p>

<p>More information on this can be found <a href="https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/" rel="noreferrer">here</a></p>

<p>Your second option is to use an <a href="https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-controllers" rel="noreferrer">Ingress Controller</a> with an <a href="https://kubernetes.io/docs/concepts/services-networking/ingress/" rel="noreferrer">Ingress Resource</a>. This offers much finer grained access via url parameters. You'll probably need to deploy your ingress controller pod/service with a service <code>Type=LoadBalancer</code> though, to make it externally accessible.</p>

<p><a href="https://learn.microsoft.com/en-us/azure/aks/ingress" rel="noreferrer">Here's</a> an article which explains how to do ingress on Azure with the <a href="https://github.com/kubernetes/ingress-nginx" rel="noreferrer">nginx-ingress-controller</a></p>
