Listener generate command
skupper listener generate [options]Clients at this site use the listener host and port to establish connections to the remote service. generate a listener to evaluate what will be created with listener create command
| Platforms | Kubernetes, Docker, Podman, Linux |
|---|
Examples
# Generate a Listener resource and print it to the console
$ skupper listener generate backend 8080
apiVersion: skupper.io/v2alpha1
kind: Listener
metadata:
name: backend
spec:
routingKey: backend
port: 8080
host: backend
# Generate a Listener resource and direct the output to a file
$ skupper listener generate backend 8080 > backend.yamlPrimary options
--help
help for generate
--host
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. -o, —output string print resources to the console instead of submitting them to the Skupper controller. Choices: json, yaml (default “yaml”)
| Default |
|
|---|
--routing-key
The identifier used to route traffic from listeners to connectors
--tls-credentials
the name of a Kubernetes secret containing the generated or externally-supplied TLS credentials.
--type
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 |
|