-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
是否支持hash key #15
Open
ericxiong opened this issue
Apr 20, 2018
· 2 comments
· Fixed by nicholaschiasson/ngx_upstream_jdomain#48
Open
是否支持hash key #15
ericxiong opened this issue
Apr 20, 2018
· 2 comments
· Fixed by nicholaschiasson/ngx_upstream_jdomain#48
Comments
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
<#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 ***@***.***>于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
> <#15>, or mute the
> thread
> <https://github.com/notifications/unsubscribe-auth/AGC43pjea6DgeTVwG5zdUaUTacsWO-Vvks5tqWr1gaJpZM4Tc3rD>
> .
>
|
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我的应用场景是在kubernetes集群中使用headless service,myproxy-service能解析出多个ip,并且ip列表可能变化。我希望根据url中的sn参数进行hash,选定server。不知道ngx_upstream_jdomain是否支持这种场景。类似如下配置:
此外具体的设计有没有相应文档,实现是把解析出来的ip列表以nginx server的形式提供给upstream吗?
The text was updated successfully, but these errors were encountered: