+1 vote
1 view
in Devops and Agile by (25.5k 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 (42.7k 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:

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...