Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
+1 vote
in DevOps and Agile by (29.3k points)

When running a Kubernetes cluster on Google Cloud Platform is it possible to somehow have the IP address from service endpoints automatically assigned to a Google CloudDNS record? If so can this be done declaratively within the service YAML definition?

Simply put I don't trust that the IP address of my type: LoadBalancer service.

1 Answer

0 votes
by (50.2k points)
edited by

Front your services with ingress and attach it  to load balancer 

Here is the link of official documentation on configuring domain name with static ip address 

Please refer:

As of my understanding, there is no such thing that automates cloud dns records from endpoints.

Note: The value you set for the annotation is the name of the reserved IP resource, and not the IP itself.

For more information please go through the following tutorial to get more info about kubernetes:

Browse Categories