Envoy route configuration

I’m trying to understand if Consul (via Nomad with connect blocks) can configure Envoy sidecars to retry requests to a different service instance if the initial request fails with a gRPC resource-exhausted code.

It seems like Envoy’s configuration for this would be via the retry host predicate, specifically the PreviousHostsPredicate.

It seems like this is something that should be configured at the virtual host level as part of HTTP routing config in Envoy, but I’m not sure how I can set this up via Consul.
I think the property-override extension is my best bet, though I can’t figure out what path I need to be overriding to set this extension.

Any pointers? This seems like a common requirement to me, so maybe there’s a simpler path I’m missing.