Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
ssorj committed Dec 4, 2024
1 parent 27270f7 commit 110c6b1
Showing 1 changed file with 45 additions and 45 deletions.
90 changes: 45 additions & 45 deletions input/resources/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,54 +15,54 @@

## Service exposure

## Hello World using YAML
<!-- ## Hello World using YAML -->

Site West:
<!-- Site West: -->

~~~
apiVersion: skupper.io/v2alpha1
kind: Site
metadata:
name: west
namespace: hello-world-west
spec:
linkAccess: default
---
apiVersion: skupper.io/v2alpha1
kind: Listener
metadata:
name: backend
namespace: hello-world-west
spec:
routingKey: backend
port: 8080
host: backend
~~~
<!-- ~~~ -->
<!-- apiVersion: skupper.io/v2alpha1 -->
<!-- kind: Site -->
<!-- metadata: -->
<!-- name: west -->
<!-- namespace: hello-world-west -->
<!-- spec: -->
<!-- linkAccess: default -->
<!-- --- -->
<!-- apiVersion: skupper.io/v2alpha1 -->
<!-- kind: Listener -->
<!-- metadata: -->
<!-- name: backend -->
<!-- namespace: hello-world-west -->
<!-- spec: -->
<!-- routingKey: backend -->
<!-- port: 8080 -->
<!-- host: backend -->
<!-- ~~~ -->

~~~
skupper token issue ~/west-token.yaml
~~~
<!-- ~~~ -->
<!-- skupper token issue ~/west-token.yaml -->
<!-- ~~~ -->

Site East:
<!-- Site East: -->

~~~
apiVersion: skupper.io/v2alpha1
kind: Site
metadata:
name: east
namespace: hello-world-east
---
apiVersion: skupper.io/v2alpha1
kind: Connector
metadata:
name: backend
namespace: hello-world-east
spec:
routingKey: backend
port: 8080
selector: app=backend
~~~
<!-- ~~~ -->
<!-- apiVersion: skupper.io/v2alpha1 -->
<!-- kind: Site -->
<!-- metadata: -->
<!-- name: east -->
<!-- namespace: hello-world-east -->
<!-- --- -->
<!-- apiVersion: skupper.io/v2alpha1 -->
<!-- kind: Connector -->
<!-- metadata: -->
<!-- name: backend -->
<!-- namespace: hello-world-east -->
<!-- spec: -->
<!-- routingKey: backend -->
<!-- port: 8080 -->
<!-- selector: app=backend -->
<!-- ~~~ -->

~~~
skupper token redeem ~/west-token.yaml
~~~
<!-- ~~~ -->
<!-- skupper token redeem ~/west-token.yaml -->
<!-- ~~~ -->

0 comments on commit 110c6b1

Please sign in to comment.