configuring load balancing per ingress (#2167)
* configure load balancing through a ingress annotation * update docs
This commit is contained in:
parent
4a49d67adc
commit
36cce00fdd
11 changed files with 156 additions and 10 deletions
|
|
@ -121,6 +121,9 @@ type Backend struct {
|
|||
// http://nginx.org/en/docs/http/ngx_http_upstream_module.html#hash
|
||||
UpstreamHashBy string `json:"upstream-hash-by"`
|
||||
|
||||
// Let's us choose a load balancing algorithm per ingress
|
||||
LoadBalancing string `json:"load-balance"`
|
||||
|
||||
// WhitelistSourceRange allows limiting access to certain client addresses
|
||||
// http://nginx.org/en/docs/http/ngx_http_access_module.html
|
||||
WhitelistSourceRange []string `json:"whitelist-source-range,-"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue