In GKE, kube-dns runs on my nodes, I see docker containers.
I have access to Services by name, which is great for all of these applications, where load balancing is the ideal solution, but how can I use DNS to access individual containers?
I know that I can find specific elements in the API, but I need to update the hosts and keep track of the list of elements. Should DNS do this for me the way it is supposed to be used in a container?
A Kubernetes document says that DNS information needs to be passed to the cube, but I donβt have access to this in GKE, which I know of, so itβs just not configured in that way on GKE or is there something to do to activate it?
Some of my services (in particular, zookeeper) are aware of other nodes and try to connect to them by host name (this is the file name), and this fails if I do not update the hosts file myself. I would like to use the integrated DNS service for this.
Any recommendations on how to do this would be appreciated.
thanks
source share