<p>In Azure Kubernetes, the services or load balancer exposes IP Address to access a container's app. If one of the container has a web application, then it will be externally exposed as an IP like 115.111.0.145. Suppose I have a website <a href="http://www.example.com" rel="nofollow noreferrer">www.example.com</a> purchased from GoDaddy, then how can I link this domain with AKS cluster, so that the end user will be accessing the website by name and not IP?</p>

Bibin
<p>You can use Ingress. Ingress is an API object that manages external access to the services in a cluster, typically HTTP. An Ingress may be configured to give Services externally-reachable URLs, load balance traffic, terminate SSL / TLS, and offer name-based virtual hosting. You can see the offical kubernetes <a href="https://kubernetes.io/docs/concepts/services-networking/ingress/" rel="nofollow noreferrer">Ingress-doc</a> for more details.</p>
<p>Here as an example a simple yaml manifest of ingress is given:</p>
<pre><code>apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: simple-fanout-example
spec:
  rules:
  - host: foo.bar.com
    http:
      paths:
      - path: /foo
        pathType: Prefix
        backend:
          service:
            name: service1
            port:
              number: 4200
      - path: /bar
        pathType: Prefix
        backend:
          service:
            name: service2
            port:
              number: 8080
</code></pre>
