一、简介 Consul([?k?nsl],康搜)是注册中心,服务提供者、服务消费者等都要注册到Consul中,这样就可以实现服务提供者、服务消费者的隔离。除了Consul之外,还有Eureka、Zookeeper等类似软件。consul是存储服务名称与IP和端口对应关系的服务器 consul是goo ...
分类:
其他好文 时间:
2018-10-16 13:46:02
阅读次数:
482
We are excited to announce the release of HashiCorp Consul 1.3. This release extends Consul to support Envoy as a proxy for Connect and enables automatic sidecar injection in Kubernetes for secure pod communication.
分类:
其他好文 时间:
2018-10-15 23:15:18
阅读次数:
196
consul 命令行工具 consul 支持 Windows/Linux 等多种平台, 一般生产环境部署在 Linux, 下载包中仅有一个可执行程序, 所有的服务都通过命令行开启. 常用的命令有: consul agent #开启 server agent 或 client agentconsul ...
分类:
其他好文 时间:
2018-10-15 14:39:26
阅读次数:
171
简介 Consul-template是Consul的一个方扩展工具,通过监听Consul中的数据可以动态修改一些配置文件,大家比较热衷于应用在Nginx,HAProxy上动态配置健康状态下的客户端反向代理信息。GitHub上的文档比较详细,这里简单做个入门介绍。 关于配置中心不做过多介绍了。简单描述 ...
分类:
其他好文 时间:
2018-10-01 14:09:14
阅读次数:
167
在配置文件中添加 然后打开consul的时候就能够看到这些数据 比如: HTTP GET http://10.9.5.4:8240/actuator/health: 503 Output: {"status":"DOWN","details":{"diskSpace":{"status":"UP", ...
分类:
其他好文 时间:
2018-09-30 14:54:54
阅读次数:
1375
his week we‘re releasing the service catalog sync functionality to sync Kubernetes services to the Consul catalog and vice versa. This enables cross-cluster or platform service discovery using the native service discovery tooling expected. Additionally, a central catalog allows organizations to gracefully migrate workloads into or out of Kubernetes.
分类:
Web程序 时间:
2018-09-28 20:38:24
阅读次数:
301
1、consul启动# consul agent -dev # -dev表示开发模式运行,另外还有-server表示服务模式运行 注意:-dev节点的启动不能用于生产环境,因为该模式下不会持久化任何状态,该启动模式仅仅是为了快速便捷的启动单节点consul。 2、查看consul cluster中c ...
分类:
其他好文 时间:
2018-09-27 13:11:08
阅读次数:
2694
企业分布式微服务云SpringCloud SpringBoot mybatis (十四)服务注册(consul) 一、consul 简介 consul 具有以下性质: 服务发现:consul通过http 方式注册服务,并且服务与服务之间相互感应。 服务健康监测 key/value 存储 多数据中心... ...
分类:
编程语言 时间:
2018-09-22 16:54:26
阅读次数:
164
This week we‘re showcasing the auto-join feature to enable nodes running inside and outside of Kubernetes to join a Consul cluster running on Kubernetes.
分类:
Web程序 时间:
2018-09-22 10:36:26
阅读次数:
259
In this series we explore how Nomad handles unexpected failures, outages, and routine maintenance of cluster infrastructure, often without operator intervention.
分类:
其他好文 时间:
2018-09-22 10:33:50
阅读次数:
203