You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For services that do not require Nacos health checks, there is a need to update their instance health status through external health check data sources.
// 对于不需要nacos健康检查的服务, 有通过外部健康检查数据源, 更新其实例健康状态的需求。
All you need to do is update your health status, and no other information needs to be updated.
// 只需要更新健康状态,其他信息不需要更新
The plan:
方案:
Nacos provides API for updating the health of specified service instances
// 1、nacos提供api, 用于更新指定服务实例的健康情况
url
POST /v1/ns/health
param
serviceName
clusterName
ip
port
valid
DistroMapper. Responsibility (dom) is used to determine whether the request belongs to this server processing or not.
Demand:
需求:
For services that do not require Nacos health checks, there is a need to update their instance health status through external health check data sources.
// 对于不需要nacos健康检查的服务, 有通过外部健康检查数据源, 更新其实例健康状态的需求。
All you need to do is update your health status, and no other information needs to be updated.
// 只需要更新健康状态,其他信息不需要更新
The plan:
方案:
// 1、nacos提供api, 用于更新指定服务实例的健康情况
url
POST /v1/ns/health
param
serviceName
clusterName
ip
port
valid
// 2、通过 DistroMapper.responsible(dom) 判断是否属于本server处理, 不是则转发请求
// 3、只有健康检查模式是none的,才会进行更新健康状态
// 4、成功更新后, 返回200
!!!!WE STRONGLY ENCOURAGE YOU TO DESCRIBE YOUR ISSUE IN ENGLISH!!!!
The text was updated successfully, but these errors were encountered: