TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Deploying geographically distributed services on Kubernetes Engine

99 pointsby eicnixalmost 7 years ago

3 comments

alpbalmost 7 years ago
My takeaway&#x2F;distillation from this article basically comes down to this:<p>* GKE clusters currently can be only in 1 region (say, us-central1)<p>* But you can create multiple clusters around the world, and deploy the same app on them<p>* Google Cloud provides global anycast IPs for load balancers<p>* Anycast IPs are routed to the closest PoP&#x2F;datacenter available to the visitor of your application<p>* Then, the traffic is routed to the closest GKE cluster (without leaving Google&#x27;s private worldwide network)<p>* This way, you serve to the user from the nearest cluster<p>* If a region goes offline (disaster scenario) or is under high load, the load balancer will start sending traffic to other nearby clusters<p>I deployed the sample demo app provided at with this at <a href="http:&#x2F;&#x2F;35.190.71.87&#x2F;" rel="nofollow">http:&#x2F;&#x2F;35.190.71.87&#x2F;</a> (probably won&#x27;t work in a month or so). Depending on where you&#x27;re visiting, you&#x27;ll be routed to the closest datacenter the app is deployed in.<p>The demo app source code is here: <a href="https:&#x2F;&#x2F;github.com&#x2F;GoogleCloudPlatform&#x2F;k8s-multicluster-ingress&#x2F;tree&#x2F;master&#x2F;examples&#x2F;zone-printer" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;GoogleCloudPlatform&#x2F;k8s-multicluster-ingr...</a> You can try it out yourself if you have a GCP account.<p>Disclaimer: I work on GKE at Google.
评论 #17242443 未加载
评论 #17242598 未加载
yannskialmost 7 years ago
What about databases?
评论 #17248070 未加载
评论 #17246134 未加载
linsomniacalmost 7 years ago
I think this is the first of these stories that I have realized has no relevance to me <i>BEFORE</i> I click on the link rather than after. (Currently working on Kubernetes stuff, but all the GKE posts here have not been that useful, though I have played with GKE and like it)