Search code examples
google-cloud-platformgoogle-kubernetes-enginegoogle-cloud-load-balancer

google cloud platform Cloud locations for Kubernetes(GKE)


Do you know where to look for information, regarding setting up for distributing containers and volumes into locations?

The following link, states that Kubernetes Engine is an available product for locations:

"Products available by location"

"Deploy resources in specific zones, regions and multi-regions."

https://cloud.google.com/about/locations


Solution

  • Just to add more details to what @Harsh Manvar mentioned and to answer your question. The global load balancing offerings will route traffic to the backend instances in the zone closest to the client. That said there are some scenarios where this may not occur 100% of the time.

    In general users traffic is directed to a single IP address. Points of Presence (PoPs) terminate traffic as near as possible to your users and direct load-balanced traffic to the closest healthy backend that has capacity. More information here

    ‘nodeselector’ basically forces a Pod to run only on Nodes in that node pool. Depending on the resource availability, traffic will be sent from the Load balancer to the aforementioned nodes where you attached the label.

    I hope this helps