update LoadBalancer Options (#388)

update LoadBalancer with LoadBalancerOptions
This commit is contained in:
geffzhang 2018-06-08 22:55:58 +08:00 committed by Tom Pallister
parent 04139333ea
commit 3ef978460c

View File

@ -35,7 +35,9 @@ and LeastConnection algorithm you can use. If no load balancer is specified Ocel
"UpstreamPathTemplate": "/posts/{postId}", "UpstreamPathTemplate": "/posts/{postId}",
"UpstreamHttpMethod": [ "Put" ], "UpstreamHttpMethod": [ "Put" ],
"ServiceName": "product", "ServiceName": "product",
"LoadBalancer": "LeastConnection", "LoadBalancerOptions": {
"Type": "LeastConnection"
},
"UseServiceDiscovery": true "UseServiceDiscovery": true
} }
@ -151,4 +153,4 @@ The config might look something like
} }
} }
Please take a look through all of the docs to understand these options. Please take a look through all of the docs to understand these options.