Open ericxiong opened 6 years ago
jdomain是RR 算法,不支持consistent hash模块。
skywalker notifications@github.com于2018年4月20日 周五12:58写道:
我的应用场景是在kubernetes集群中使用headless service,myproxy-service能解析出多个ip,并且ip列表可能变化。我希望根据url中的sn参数进行hash,选定server。不知道ngx_upstream_jdomain是否支持这种场景。类似如下配置:
upstream myproxy { hash $arg_sn consistent; jdomain myproxy-service 8080; }
此外具体的设计有没有相应文档,实现是把解析出来的ip列表以nginx server的形式提供给upstream吗?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/wdaike/ngx_upstream_jdomain/issues/15, or mute the thread https://github.com/notifications/unsubscribe-auth/AGC43pjea6DgeTVwG5zdUaUTacsWO-Vvks5tqWr1gaJpZM4Tc3rD .
jdomain解析出的ip自己做负载均衡
wdec thewdec@gmail.com于2018年4月20日 周五13:02写道:
jdomain是RR 算法,不支持consistent hash模块。
skywalker notifications@github.com于2018年4月20日 周五12:58写道:
我的应用场景是在kubernetes集群中使用headless service,myproxy-service能解析出多个ip,并且ip列表可能变化。我希望根据url中的sn参数进行hash,选定server。不知道ngx_upstream_jdomain是否支持这种场景。类似如下配置:
upstream myproxy { hash $arg_sn consistent; jdomain myproxy-service 8080; }
此外具体的设计有没有相应文档,实现是把解析出来的ip列表以nginx server的形式提供给upstream吗?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/wdaike/ngx_upstream_jdomain/issues/15, or mute the thread https://github.com/notifications/unsubscribe-auth/AGC43pjea6DgeTVwG5zdUaUTacsWO-Vvks5tqWr1gaJpZM4Tc3rD .
我的应用场景是在kubernetes集群中使用headless service,myproxy-service能解析出多个ip,并且ip列表可能变化。我希望根据url中的sn参数进行hash,选定server。不知道ngx_upstream_jdomain是否支持这种场景。类似如下配置:
此外具体的设计有没有相应文档,实现是把解析出来的ip列表以nginx server的形式提供给upstream吗?