Listener create command¶
Clients at this site use the listener host and port to establish connections to the remote service.
| Platforms | Kubernetes, Docker, Podman, Linux |
|---|---|
| Waits for | Configured |
Examples¶
# Create a listener for a database
$ skupper listener create database 5432
Waiting for status...
Listener "database" is configured.
# Set the routing key and host explicitly
$ skupper listener create backend 8080 --routing-key be1 --host apiserver
Primary options¶
--help
boolean
help for create
--host
<string>
The hostname or IP address of the local listener. Clients at this site use the listener host and port to establish connections to the remote service.
--routing-key
<string>
The identifier used to route traffic from listeners to connectors
--tls-credentials
<string>
the name of a Kubernetes secret containing the generated or externally-supplied TLS credentials.
--type
<string>
The listener type. Choices: [tcp]. (default "tcp") ``` ``` -n, --namespace string Set the namespace -p, --platform string Set the platform type to use [kubernetes, podman, docker, linux] ```
| Default |
| ||
|---|---|---|---|
| Choices |
|