Back

Explore Courses Blog Tutorials Interview Questions
+1 vote
3 views
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: 

https://cloud.google.com/kubernetes-engine/docs/tutorials/configuring-domain-name-static-ip

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

Note: The value you set for the kubernetes.io/ingress.global-static-ip-name 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

...