Chapter 7. Creating and using a Skupper gateway
This procedure describes how to create a gateway and make a backend service available on the service network.
Prerequisites
- Skupper router is installed on local machine
Procedure
Create a gateway:
$ skupper gateway init --type podman
Create a Application Interconnect service:
$ skupper service create hello-world-backend 8080
Bind the local backend service to the Application Interconnect service:
$ skupper gateway bind hello-world-backend <backend-ip-address> 8080
where the <backend-ip-address is the address you noted in Chapter 3, Creating a backend service
Check the gateway status:
$ skupper gateway status
The output should be similar to following:
Gateway Definitions: ╰─ <machine>-<user> type: podman version: 1.17.1 ╰─ Bindings: ╰─ hello-world-backend:8080 tcp hello-world-backend:8080 <backend-ip-address> 8080