Navigation :
subset_spec.proto
Package: options.gloo.solo.io
Types:
Enums:
- [FallbackPolicy](#fallbackpolicy)
SubsetSpec
See envoy docs for details:
https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/cluster/v3/cluster.proto#config-cluster-v3-cluster-lbsubsetconfig
"selectors": []options.gloo.solo.io.Selector
"fallbackPolicy": .options.gloo.solo.io.FallbackPolicy
"defaultSubset": .options.gloo.solo.io.Subset
Selector
"keys": []string
"singleHostPerSubset": bool
Field |
Type |
Description |
keys |
[]string |
A subset is created for each unique combination of key and value. |
singleHostPerSubset |
bool |
Selects a mode of operation in which each subset has only one host. Default is false. |
Subset
"values": map<string, string>
Field |
Type |
Description |
values |
map<string, string> |
Any host that matches all key/value pairs is part of this subset. |
FallbackPolicy
Description:
Name |
Description |
ANY_ENDPOINT |
Any cluster endpoint may be returned (default) |
DEFAULT_SUBSET |
Load balancing over the endpoints matching the values from the default_subset field |
NO_FALLBACK |
A result equivalent to no healthy hosts is reported |