Create Google DNS Zone Setup
Prerequisites
- Install Azure cli.
Steps
-
Create a resource group
az group create \ --name DirigibleResourceGroup \ --location <your-location>
-
Create static public IP address
az aks show \ --resource-group DirigibleResourceGroup \ --name dirigible \ --query nodeResourceGroup \ -o tsv
After you run the previus command you will receive
MC_....
and add to next command.az network public-ip create \ --resource-group MC_DirigibleResourceGroup_dirigible_<your-location> \ --name PublicIP \ --sku Standard \ --allocation-method static \ --query publicIp.ipAddress \ -o tsv
-
Create DNS zone
az network dns zone create \ -g DirigibleResourceGroup \ -n dirigible.io
-
Create DNS Record
- Get ip address
kubectl get svc -n istio-ingress istio-ingressgateway -o jsonpath="{.status.loadBalancer.ingress[0].ip}"
- Set A dns record
az network dns record-set a add-record \ -g DirigibleResourceGroup \ -z <your-domain> \ -n dirigible \ -a <the-ip-from-previous-step>