diff --git a/README.md b/README.md index e39ea65..1a81424 100644 --- a/README.md +++ b/README.md @@ -148,8 +148,8 @@ 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 local listener are routed to connectors in remote sites with matching routing -keys. The `hostname` and `port` fields define the local -connection endpoint. +keys. The `host` and `port` fields define the local connection +endpoint. [listener.yaml](west/listener.yaml): @@ -163,7 +163,7 @@ metadata: skupper.io/type: listener data: routing-key: backend:http - hostname: backend + host: backend port: 8080 ~~~ @@ -208,8 +208,8 @@ metadata: skupper.io/type: connector data: routing-key: backend:http - port: 8080 selector: app=backend + port: 8080 ~~~ Now we're ready to apply everything. Use `kubectl apply` diff --git a/skewer.yaml b/skewer.yaml index dd45c0c..edeae7c 100644 --- a/skewer.yaml +++ b/skewer.yaml @@ -81,8 +81,8 @@ steps: available in west, create a `listener` resource with `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. + keys. The `host` and `port` fields define the local connection + endpoint. [listener.yaml](west/listener.yaml): @@ -96,7 +96,7 @@ steps: skupper.io/type: listener data: routing-key: backend:http - hostname: backend + host: backend port: 8080 ~~~ @@ -141,8 +141,8 @@ steps: skupper.io/type: connector data: routing-key: backend:http - port: 8080 selector: app=backend + port: 8080 ~~~ Now we're ready to apply everything. Use `kubectl apply`