Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
ssorj committed Jun 7, 2023
1 parent 6f499e5 commit c5a5c16
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 12 deletions.
19 changes: 12 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,10 @@ data:
The Hello World example has a frontend workload in west that
sends HTTP requests to a backend service. To make that service
available in west, create a `listener` resource with
`routing-key: backend:http`. Connections to the listener are
routed to connectors in remote sites with matching routing keys.
`routing-key: backend:http`. Connections to the local listener
are routed to connectors in remote sites with matching routing
keys. The `hostname` and `port` fields define the local
connection endpoint.

[listener.yaml](west/listener.yaml):

Expand All @@ -167,8 +169,8 @@ data:

#### Resources in east

Like the one for `west`, here is the Skupper site definition for
the `east` namespace. It includes the `ingress: none` setting
Like the one for west, here is the Skupper site definition for
the east namespace. It includes the `ingress: none` setting
since no ingress inquired at this site for the Hello World
example.

Expand All @@ -187,9 +189,12 @@ data:
ingress: none
~~~

We have the `listener` defined. Now we need the corresponding
`connector`. It has the same routing key and includes a pod
selector for identifying the target workload.
We have the `listener` for the backend defined in west. We need
the corresponding `connector` in east. Note that it has the
same routing key as the backend `listener`.

The `selector` field identifies the pods implementing the
service.

[connector.yaml](east/connector.yaml):

Expand Down
15 changes: 10 additions & 5 deletions skewer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,10 @@ steps:
The Hello World example has a frontend workload in west that
sends HTTP requests to a backend service. To make that service
available in west, create a `listener` resource with
`routing-key: backend:http`. Connections to the listener are
routed to connectors in remote sites with matching routing keys.
`routing-key: backend:http`. Connections to the local listener
are routed to connectors in remote sites with matching routing
keys. The `hostname` and `port` fields define the local
connection endpoint.
[listener.yaml](west/listener.yaml):
Expand Down Expand Up @@ -120,9 +122,12 @@ steps:
ingress: none
~~~
We have the `listener` defined. Now we need the corresponding
`connector`. It has the same routing key and includes a pod
selector for identifying the target workload.
We have the `listener` for the backend defined in west. We need
the corresponding `connector` in east. Note that it has the
same routing key as the backend `listener`.
The `selector` field identifies the pods implementing the
service.
[connector.yaml](east/connector.yaml):
Expand Down

0 comments on commit c5a5c16

Please sign in to comment.