TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

HashiCorp Consul 1.2: Service Mesh

148 点作者 onnimonni将近 7 年前

7 条评论

syllogism将近 7 年前
If you&#x27;re using Consul for web services, I really recommend the Traefik web server: <a href="https:&#x2F;&#x2F;traefik.io" rel="nofollow">https:&#x2F;&#x2F;traefik.io</a><p>Traefik replaces Nginx: it&#x27;s the reverse proxy that maps the incoming requests to your various services, which are advertising on some arbitrary localhost port.<p>The amazing thing is that Traefik integrates with Consul: you only need to point it to your Consul endpoint, and it can automatically publish your services! You can also do other dynamic configuration of Traefik, e.g. by publishing a service via a REST API, via Kubernetes, etc.<p>I&#x27;ve struggled for years to get Nginx configured correctly, and it&#x27;s been frustrating to have no alternative. In Nginx, dynamic binding is a premium feature. In the free version, you have to rewrite the config and restart the service. That&#x27;s not fun if you expect services to come and go as part of your natural life-cycle.<p>Traefik&#x27;s still pretty young. Notably, the docs are shit. But the application is well-designed, and it compiles as a single self-contained binary (as it&#x27;s written in Go).
评论 #17400457 未加载
评论 #17400563 未加载
评论 #17399127 未加载
评论 #17400019 未加载
评论 #17400766 未加载
mochtar将近 7 年前
If you want to try the new Connect feature from Consul yourself, we&#x27;ve put up an interactive tutorial on our Instruqt learning platform, together with the nice folks at HashiCorp: <a href="https:&#x2F;&#x2F;play.instruqt.com&#x2F;hashicorp&#x2F;tracks&#x2F;connect" rel="nofollow">https:&#x2F;&#x2F;play.instruqt.com&#x2F;hashicorp&#x2F;tracks&#x2F;connect</a>
评论 #17400561 未加载
评论 #17400211 未加载
评论 #17403547 未加载
chuhnk将近 7 年前
I&#x27;ve been using Consul as part of micro (<a href="https:&#x2F;&#x2F;github.com&#x2F;micro&#x2F;micro" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;micro&#x2F;micro</a>) for 3 years now. It&#x27;s a great mechanism for service discovery. This additional feature is going to be seamlessly integrated. They&#x27;ve done a fantastic job of pushing forward Consul as a whole.
评论 #17400205 未加载
esseti将近 7 年前
If I use Kubernetes, this service is superfluous, right? Instead, it&#x27;s useful if you use Docker containers in other fashion since services should communicate with each other.
评论 #17401119 未加载
评论 #17408907 未加载
Already__Taken将近 7 年前
sidebar: I&#x27;m quite fond of hcl[0] I hope it worms its way through more systems as a config format option<p>[0]: <a href="https:&#x2F;&#x2F;github.com&#x2F;hashicorp&#x2F;hcl" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;hashicorp&#x2F;hcl</a>
评论 #17401067 未加载
评论 #17404482 未加载
jrs95将近 7 年前
Damn, this is nice. If this had been around a few months ago I don&#x27;t think I&#x27;d be using Kubernetes right now.
kamura将近 7 年前
Could someone care to elaborate what are the main differences between Consul and Istio? What would be the primary reasons to choose one service mesh over the other?
评论 #17398995 未加载
评论 #17400263 未加载
评论 #17399095 未加载