Omit host metadata retry predicate

config.retry.omit_host_metadata.v2.OmitHostMetadataConfig

[config.retry.omit_host_metadata.v2.OmitHostMetadataConfig proto]

A retry host predicate that can be used to reject a host based on predefined metadata match criteria.

This extension may be referenced by the qualified name envoy.retry_host_predicates.omit_host_metadata

Note

This extension is intended to be robust against untrusted downstream traffic. It assumes that the upstream is trusted.

{
  "metadata_match": "{...}"
}
metadata_match

(core.Metadata) Retry host predicate metadata match criteria. The hosts in the upstream cluster with matching metadata will be omitted while attempting a retry of a failed request. The metadata should be specified under the envoy.lb key.