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.

Dynamic Docker links with an ambassador powered by etcd

25 pointsby biobotalmost 11 years ago

1 comment

philipsalmost 11 years ago
An interesting development since this post was made is the announcement of Kubernetes (k8s) from Google[1]. In k8s you define a collection of services via a set of labels, such as env=production,service=redis and then on localhost your application gets a environment variable to a &quot;service proxy&quot; port that load balances to these services within your k8s cluster.<p>This is all still controlled through etcd and right now only does round-robin load balancing but there are plans to do other strategies like master elected, least loaded, etc. You can read more about this concept over on the docs[2].<p>The nice thing about this whole model is that the application isn&#x27;t aware or involved in things about master-election and is only configured once at startup to talk to a local port.<p>[1] <a href="https://github.com/GoogleCloudPlatform/kubernetes/" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;GoogleCloudPlatform&#x2F;kubernetes&#x2F;</a> [2] <a href="https://github.com/GoogleCloudPlatform/kubernetes/blob/master/DESIGN.md#kubernetes-proxy" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;GoogleCloudPlatform&#x2F;kubernetes&#x2F;blob&#x2F;maste...</a>
评论 #8190010 未加载