# return DNS for the cluster, the value is for the host
# az aks show --resource-group $rg --name $aks --query addonProfiles.httpApplicationRouting.config.HTTPApplicationRoutingZoneName -o table

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: tripsinsights-tripviewer
  annotations:
    kubernetes.io/ingress.class: addon-http-application-routing
spec:
  rules:
  - host: azureDns
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service: 
            name: tripsinsights-tripviewer
            port: 
              number: 80