因此,我将这个名为 WSO2 API Manager 的应用程序部署到 AKS,并在教程结束时要求我执行此操作:
If the defined hostnames (in the previous step) are backed by a DNS service, add a DNS record mapping the hostnames and the external IP (EXTERNAL-IP) in the relevant DNS service.
所以我不知道接下来该去哪里,因为如果我将 DNS 映射到主机文件中的 IP,该应用程序就可以正常工作。 但我在 AKS,如果有人可以指导我在那里做同等的事情,我将不胜感激。
最佳答案
要使 DNS 通过互联网工作,您需要正确配置它。如果您的 DNS 名称是 abc.com,首先您需要通过域名注册商购买“abc.com”域名。然后它应该映射到您的 Ingress 的公共(public) IP。为此,您可以使用 Azure DNS。请参阅以下内容。
https://learn.microsoft.com/en-us/azure/dns/
https://learn.microsoft.com/en-us/azure/dns/dns-getstarted-portal
关于azure - 映射主机名和外部 IP 的 DNS 记录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/72586999/