Skip to content

Commit d7c5e97

Browse files
authored
update link-cost (#254)
* update link-cost
1 parent bfca4ea commit d7c5e97

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

cli/link-cost.adoc

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
include::../partials/attributes.adoc[]
12
// Type: procedure
23
[id="specifying-link-cost"]
34
== Specifying link cost
@@ -79,4 +80,15 @@ You can view the traffic levels corresponding to each client.
7980

8081
NOTE: If there are multiple clients on different sites, filter the view to each client to determine the effect of cost on traffic.
8182
For example, in a two site network linked with a high cost with servers and clients on both sites, you can see that a client is served by the local servers while a local server is available.
82-
--
83+
--
84+
85+
A common use-case for specifying cost is to provide automatic failover.
86+
As described in {single-link}, you might have two instances of a server with a high cost for the link to the backup server:
87+
88+
* local server (effective cost = 0)
89+
* remote server (link cost = 99999)
90+
91+
In this case, connections are always routed to the local server and fails over to the remote server when the local server becomes available.
92+
93+
Some complex applications, especially stateful ones, require "orchestrated" failover, meaning you need control over the order in which traffic is redirected from one set of workloads to another.
94+
{skupper-name} does not offer this type of orchestration, you need to implement that orchestration for those applications.

partials/attributes.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
:kube-ref-link: https://skupper.io/docs/kubernetes-reference/index.html[Skupper Kubernetes CLI reference]
1818
:pod-ref-link: https://skupper.io/docs/kubernetes-reference/index.html[Skupper Podman CLI reference]
1919
:cost-link: ../cli/index.html#specifying-link-cost[Specifying link cost]
20+
:single-link: ../cli/index.html#deploying-single-logical-service[Deploying a single logical service]
2021

2122

2223
:skupper-operator-name: Skupper operator

0 commit comments

Comments
 (0)