Listener create command

Create a listener.

PlatformsKubernetes, Docker, Podman, Linux
Waits forConfigured

Usage

skupper listener create <name> <port> [options]

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

<name>

string
required

The name of the resource to be created.

PlatformsKubernetes, Docker, Podman, Linux

<port>

integer
required

The port of the local listener. Clients at this site use the listener host and port to establish connections to the remote service.

PlatformsKubernetes, Docker, Podman, Linux

--routing-key

<string>
frequently used

The identifier used to route traffic from listeners to connectors. To enable connecting to a service at a remote site, the local listener and the remote connector must have matching routing keys.

Default

Value of name

PlatformsKubernetes, Docker, Podman, Linux
See alsoRouting key concept

--host

<string>
frequently used

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.

Default

Value of name

PlatformsKubernetes, Docker, Podman, Linux

Global options