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
### will be removed and replaced by `nacos.naming.clean` properties
nacos.naming.empty-service.auto-clean=true
nacos.naming.empty-service.clean.initial-delay-ms=50000
nacos.naming.empty-service.clean.period-time-ms=30000
### Add in 2.0.0
### The interval to clean empty service, unit: milliseconds.
nacos.naming.clean.empty-service.interval=10000
### The expired time to clean empty service, unit: milliseconds.
nacos.naming.clean.empty-service.expired-time=60000
### The interval to clean expired metadata, unit: milliseconds.
nacos.naming.clean.expired-metadata.interval=500
### The expired time to clean metadata, unit: milliseconds.
nacos.naming.clean.expired-metadata.expired-time=500
### The delay time before push task to execute from service changed, unit: milliseconds.
nacos.naming.push.pushTaskDelay=500
### The timeout for push task execute, unit: milliseconds.
nacos.naming.push.pushTaskTimeout=5000
### The delay time for retrying failed push task, unit: milliseconds.
nacos.naming.push.pushTaskRetryDelay=1000
### Since 2.0.3
### The expired time for inactive client, unit: milliseconds.
nacos.naming.client.expired.time=180000
The text was updated successfully, but these errors were encountered:
nacos镜像版本:2.2.3
部署情况:k8s内集群部署
客户端连接方式:所有服务均使用spring_boot集成
问题背景:
k8s集群内的服务,强制关机唯一的节点后,部分服务的实例注册一直存在,并且显示健康状态(确认服务器已经强制关机,并且没有任何节点可调度)。如果是单纯的删除pod,服务会自动下线,没有异常,但是如果强制关机node节点,则会出现只下线一部分instance实例的情况,剩余实例仍显示健康,并且为可用。
配置:
所有客户端心跳配置均一致:
preserved.heart.beat.timeout=11000
preserved.ip.delete.timeout=16000
preserved.register.source=SPRING_CLOUD
preserved.heart.beat.interval=5000
服务端naming配置:
nacos.naming.expireInstance=true
The text was updated successfully, but these errors were encountered: