Connector update command

Update a connector.

PlatformsKubernetes, Docker, Podman, Linux
Waits forConfigured

Usage

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

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.

PlatformsKubernetes, Docker, Podman, Linux

<port>

integer
required

The port on the target workload to forward traffic to.

PlatformsKubernetes, Docker, Podman, Linux

--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

PlatformsKubernetes, Docker, Podman, Linux
See alsoRouting key concept

--selector

<string>
frequently used

A Kubernetes label selector for specifying target server pods.

On Kubernetes, you usually want to use this. As an alternative, you can use host.

Default

app=[value-of-name]

PlatformsKubernetes, Docker, Podman, Linux

--workload

<resource>
frequently used

A Kubernetes resource name that identifies a workload. It resolves to an equivalent pod selector.

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

PlatformsKubernetes
See alsoKubernetes workloads

Global options