whl12345
whl12345
2个简单想法: 1. ConfigService从当前主配置里获取完整实例列表,然后从中选取一部分实例,同时依靠定时任务更新 2. 还有一种是实例注册的时候,获取当前应用的灰度配置更新

简单设计了一个按机器数灰度的策略,让业务在portal上指定应用灰度的实例数量,可以通过后台定时计算并更新灰度的实例列表。
这个方案有个缺陷,相比标签发布,无法保证灰度实例列表IP的稳定,可能灰度IP重启后会路由到另一个实例,把原始实例变为灰度实例
For **grayscale amount** rules, I begin to develop and make some test, the **design** as follow. 1. I create a schedule task at portal to select all grayRules which type...
> Thanks for the clarification, the `grayscale amount` is an interesting idea. However, I still have some concerns about the dynamic grayscale lists, but I'm open to discussions. BTW, I...
> > Yes, but when gray configs are changed, the grayscale label rules need user to reboot k8s deployment > > I suppose the grayscale period should be temporary. So...
> > it may have something to do with the apollo design which defines instances 2 minutes from now are active > > the current active instance definition is 25...
> > > > Yes, but when gray configs are changed, the grayscale label rules need user to reboot k8s deployment > > > > > > > > >...
gRPC message exceeds maximum size这个报错在高负载下手动宕机一台server,然后重启会出现 11节点2.x server+2.x client 8k服务数,8w注册实例数,宕机1台nacos server后,再重启会出现这个错误