connect: allow configuration of "healthy_threshold_percent" on a service resolver failover definition
Open
theme/connect
type/enhancement
- Dominant language
- Go
- Stars
- 30.1k
- Forks
- 4.6k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 43
Description
Introduce a `healthy_threshold_percent` knob on a failover leg of a `service-resolver` config entry. This is the percentage of service instances that must be healthy to keep traffic flowing to them and not failover. If defaulted or set to zero then every instance must be unhealthy to trigger failover.
(based on a [previous PR comment](https://github.com/hashicorp/consul/pull/6259#discussion_r309739473))
Contributor guide
Assessment
This issue has not been assessed yet.