Skip to content
GitHub

Listener create command

skupper listener create [options]

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

PlatformsKubernetes, Docker, Podman, Linux
Waits forConfigured

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

--timeout

<duration>
raise an error if the operation does not complete in the given period of time (expressed in seconds). (default 1m0s)
Default

1m0s

--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")
Default

"tcp"

Choices
tcp

--wait

<string>
Wait for the given status before exiting. Choices: configured, ready, none (default "configured") ``` ``` -c, --context string Set the kubeconfig context
Default

"configured"

--kubeconfig

<string>
Path to the kubeconfig file to use -n, --namespace string Set the namespace -p, --platform string Set the platform type to use [kubernetes, podman, docker, linux] ```

Global options