Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update link-cost #254

Merged
merged 4 commits into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion cli/link-cost.adoc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include::../partials/attributes.adoc[]
// Type: procedure
[id="specifying-link-cost"]
== Specifying link cost
Expand Down Expand Up @@ -79,4 +80,15 @@ You can view the traffic levels corresponding to each client.

NOTE: If there are multiple clients on different sites, filter the view to each client to determine the effect of cost on traffic.
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.
--
--

A common use-case for specifying cost is to provide automatic failover.
As described in {single-link}, you might have two instances of a server with a high cost for the link to the backup server:

* local server (effective cost = 0)
* remote server (link cost = 99999)

In this case, connections are always routed to the local server and fails over to the remote server when the local server becomes available.

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.
{skupper-name} does not offer this type of orchestration, you need to implement that orchestration for those applications.
1 change: 1 addition & 0 deletions partials/attributes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
:kube-ref-link: https://skupper.io/docs/kubernetes-reference/index.html[Skupper Kubernetes CLI reference]
:pod-ref-link: https://skupper.io/docs/kubernetes-reference/index.html[Skupper Podman CLI reference]
:cost-link: ../cli/index.html#specifying-link-cost[Specifying link cost]
:single-link: ../cli/index.html#deploying-single-logical-service[Deploying a single logical service]


:skupper-operator-name: Skupper operator
Expand Down
Loading