Consul控制台Service ‘xxxx-service‘ check提示错误(红叉)

Posted 幽灵雾

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Consul控制台Service ‘xxxx-service‘ check提示错误(红叉)相关的知识,希望对你有一定的参考价值。

【问题现象】

启动consul服务后,Consul控制台中对应instance中提示“Service ‘xxxx-service’ check”错误,体现为红叉错误:

【原因】

Consul心跳异常或没有配置,但服务本身不受影响,仍能正常运行

【解决】

Consul的心跳默认关闭,在配置文件中开启即可

以上是关于Consul控制台Service ‘xxxx-service‘ check提示错误(红叉)的主要内容,如果未能解决你的问题,请参考以下文章

Istio 控制面对接 Consul 注册中心

基于kcp,consul的service mesh实现

consul 1.2 支持service mesh

text /etc/systemd/system/consul.service

Nomad+Consul Service Mesh如何搭建本地开发环境

Building a Service Mesh with HAProxy and Consul