Kong · Schema
Upstream
An Upstream object represents a virtual hostname and can be used to health-check, circuit-break, and load-balance incoming requests over multiple services.
API GatewayLuaNGINXOpen Source
Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| name | string | A hostname which must be equal to the host of a Service. |
| algorithm | string | The load balancing algorithm to use. |
| hash_on | string | What to use as hashing input when the consistent-hashing algorithm is selected. |
| hash_fallback | string | What to use as hashing input if the primary hash_on does not return a hash. |
| hash_on_header | string | The header name to take the value from as hash input (when hash_on is set to header). |
| hash_fallback_header | string | |
| hash_on_cookie | string | |
| hash_on_cookie_path | string | |
| hash_on_query_arg | string | |
| hash_fallback_query_arg | string | |
| hash_on_uri_capture | string | |
| hash_fallback_uri_capture | string | |
| slots | integer | The number of slots in the load balancer algorithm. |
| tags | array | |
| host_header | string | The hostname to be used as Host header when proxying requests through ring-balancer. |
| use_srv_name | boolean | If set, balancer will use SRV hostname as the proxy Host header. |
| created_at | integer | |
| updated_at | integer |