Getting DNS for Load Balancer in GCP

8/29/2020

In Google Kubernetes Engine, I created a Load Balancer (External IP Address). I can access it using the IP address. However, I want to get a domain name. ( I am not asking about buying my own domain and adding DNS records ). I am not able to find how to get the url.

For eg. in Azure, in Azure Kubernetes Service, I created a Load Balancer and added a label. So, I can get a url like http://<dns_label_which_i_gave>.<region_name>.cloudapp.azure.com. So, for trial purpose, I don't have to pay for a domain and I can get an easy to read domain name.

How to get the same in GCP Load Balancer?

-- Jinto
google-cloud-platform
google-kubernetes-engine
kubernetes

1 Answer

8/29/2020

With Google Cloud you can't do this. The Load balancer expose an IP and you have to create a A record in your registrar to make the link.

-- guillaume blaquiere
Source: StackOverflow