Listener update command¶
Clients at this site use the listener host and port to establish connections to the remote service. The user can change port, host name, TLS credentials, listener type and routing key
| Platforms | Kubernetes, Docker, Podman, Linux |
|---|---|
| Waits for | Configured |
Examples¶
# Change the host and port
$ skupper listener update database --host mysql --port 3306
Waiting for status...
Listener "database" is configured.
# Change the routing key
$ skupper listener update backend --routing-key be2
Primary options¶
--help
boolean
help for update
--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.
--port
<int>
The port of the local listener
--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 |
|
|---|
--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 |
| ||
|---|---|---|---|
| Choices |
|
--wait
<string>
Wait for the given status before exiting. Choices: configured, ready, none (default "configured") ``` ``` -c, --context string Set the kubeconfig context
| Default |
|
|---|
--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] ```