Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
pwright committed Aug 28, 2024
1 parent 506afd0 commit 928d5e3
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions cli/single-logical-service.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ However, if there is no other server available, all traffic is directed to this
--

. Expose the servers on the {service-network} for both sites.

.. Create the service:
+
--
On the first site:

[source, bash]
----
$ skupper service create <name> <port>
Expand All @@ -66,9 +66,16 @@ where
By default, this service is now visible on both sites, although there is no server available to process requests to this service.

If `enable-service-sync` is set to `false` you need to create the service on both sites.
[NOTE]
====
By default, if you create a service on one site, it is available on all sites.
However, if `enable-service-sync` is set to `false` you need to create the service on both sites.
====
--

On both sites:
.. Bind the service with the server on both sites.
+
--

[source, bash]
----
Expand All @@ -90,4 +97,6 @@ $ skupper service bind hello-world-backend deployment hello-world-backend
----
--

. You can use the console to check the traffic flow or monitor the services using your tooling.
. You can use the console to check the traffic flow or monitor the services using your tooling.
Clients can connect to either site, and the server on that site processes the requests until the server is not available.
Further requests are processed by the server on the other site.

0 comments on commit 928d5e3

Please sign in to comment.