Azure-docs: subdomain for services

Created on 30 Mar 2019  Â·  8Comments  Â·  Source: MicrosoftDocs/azure-docs

Hi, with the http_routing_addon I was able to use host-based routing where the addon updated DNS with records needed.
e.g. example.com as the domain for the ingress router.

I was accordingly able to use servicea.example.com and serviceb.example.com as hosts for various applications. The DNS was updated through the addon.

how would we be able to achieve the same with this setup?

Thanks,


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

awaiting-product-team-response container-servicsvc cxp product-question triaged

All 8 comments

@mshahat
Thanks for your feedback! We will investigate and update as appropriate.

@mshahat Http addon deploys an external DNS pod which scans the ingress and services(loadBalancer type) and updated the Azure DNS accordingly.
More information can be found from this link.
Its mentioned in document here as the "External DNS".

If you also need replicate the same, Please follow this link.
Using the above link you will be able to provision a pod in the AKS which watched for ingress and services and created appropriate records in Azure DNS.

Also let me know why you are trying to setup when its already available with HTTP addon.

Thanks, @jakaruna-MSFT ... This answers a large part of my question however it does not cover the question of using an azure based domain.

.<region>.cloudapp.azure.com that is available with a public IP OR
.<region>.aksapp.io similar to that gets provisioned with AKS http routing addon.

I am trying to avoid the need of having a custom domain.

the add on is called out as not suitable for Production deployment because of its limitations.
https://docs.microsoft.com/en-us/azure/aks/http-application-routing#http-routing-solution-overview

So, I am trying to apply the external DNS and the Azure-based domain, to the setup suggested for Production use
https://docs.microsoft.com/en-us/azure/aks/ingress-tls

Thanks,

@mshahat I think we cant create like that. I will check and let you know.

Thanks, @jakaruna-MSFT ... looking forward to your feedback.

@jakaruna-MSFT looking for an update on this one, please? thank you,

@mshahat thanks for the patience while we looked into this. After working with the product team we did confirm, the aksapp.io domain is only for use with HTTP Application Routing Add-on

@mshahat You need to have a custom domain created in with the Domian registration providers. Then create a azure DNS with the same domain name and delegate the requests to Azure DNS.

Once that is done, You can use the external dns to create and delete entries in that Azure DNS.

I will close this out for now. If you need additional help please let me know and we can reopen and continue.

Was this page helpful?
0 / 5 - 0 ratings