Connector update command

skupper connector update <name> <port> [options]

Update a connector.

PlatformsKubernetes, Docker, Podman, Linux
Waits forConfigured

Examples

# Change the workload and port
$ skupper connector update database --workload deployment/mysql --port 3306
Waiting for status...
Connector "database" is configured.

# Change the routing key
$ skupper connector update backend --routing-key be2

Primary options

<name>

string
required

The name of the resource to be updated.

See alsoKubernetes object names

<port>

integer
required

The port on the target server to connect to.

UpdatableTrue

--routing-key

<string>
frequently used

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

Default

Value of name

UpdatableTrue

--workload

<resource>
frequently used

A Kubernetes resource name that identifies a workload. It uses <resource-type>/<resource-name> syntax and resolves to an equivalent pod selector.

This is an alternative to setting the --selector or --host options.

PlatformsKubernetes
See alsoKubernetes workloads

--selector

<string>

A Kubernetes label selector for specifying target server pods. It uses <label-name>=<label-value> syntax.

This is an alternative to setting the --workload or --host options.

Default

app=[value-of-name]

PlatformsKubernetes
UpdatableTrue
See alsoKubernetes label selectors

--host

<string>

The hostname or IP address of the server. This is an alternative to selector for specifying the target server.

This is an alternative to setting the --selector or --workload options.

Default

Value of name

UpdatableTrue

--wait

<status>

Wait for the given status before exiting.

Default

ready

Choices
none

Do not wait

configured

Configured

ready

Ready

PlatformsKubernetes
See alsoResource status

--timeout

<duration>

Raise an error if the operation does not complete in the given period of time.

Default

60s

PlatformsKubernetes

Global options