In the previous section we had configure our domain to be resolved by GCP Cloud DNS.
In this section we will configure Cloud DNS to assign the domain to the Kubernetes Cluster load balancer.
On Google Cloud dashboard menu, select Network services → Cloud DNS:
Click on Create zone:
Create the zone with:
innovlabs.io
trainee001-srecon19
)The created DNS zone details should be displayed:
We will add a record set for the hispter e-commerce app, click on Add record set:
kubectl get service frontend-external
for IPv4 Address.
then Click on Create:
the DNS zone will be updated with the new Record:
wait a minute to get DNS cache updated and then open the application:
http://YOUR-APPLICATION-DOMAIN/