Skip to content

Commit 038b387

Browse files
Apply dev feedback
Signed-off-by: Diana <[email protected]>
1 parent 9965bfc commit 038b387

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/_includes/gateway/failover-targets.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<!-- used on /gateway/entities/upstream/ and /gateway/entities/targets/ -->
2-
You can set `failover: true` to indicate that a Target should be used as a failover (backup) Target in case the other, regular targets (`failover: false`) associated with an Upstream are unhealthy. The failover Target is only used when *all** regular Targets are unhealthy.
3-
Failover Targets are supported by the [latency](/gateway/entities/upstream/#latency), [least-connections](/gateway/entities/upstream/#least-connections), and [round-robin](/gateway/entities/upstream/#round-robin) load balancing algorithms.
2+
You can set `failover: true` to indicate that a Target should be used as a failover (backup) Target in case the other, regular targets (`failover: false`) associated with an Upstream are unhealthy. The failover Target is only used when *all* regular Targets are unhealthy. You can set one or multiple failover Targets for an Upstream.
3+
4+
Failover Targets are supported by the [latency](/gateway/entities/upstream/#latency), [least-connections](/gateway/entities/upstream/#least-connections), and [round-robin](/gateway/entities/upstream/#round-robin) load balancing algorithms. If you set failover Targets for Upstreams with the [consistent-hashing](/gateway/entities/upstream/#consistent-hashing) or [sticky session](/gateway/entities/upstream/#sticky-sessions) load balancing algorithms they *won't* be used for regular load balancing or as a failover.
45

56
The following is an example failover Target configuration:
67

0 commit comments

Comments
 (0)