Connector update command
Update a connector.
Usage
skupper connector update <name> <port> [options]
Output
Waiting for update to complete...
Connector "<name>" is updated.
Examples
# Change the workload and port
skupper connector update database --workload deployment/mysql --port 3306
# Change the routing key
skupper connector update backend --routing-key be2
# Produce YAML output
skupper connector update backend --port 9090 --output yaml
Options
name string, required
The name of the resource to be updated.
Platforms Kubernetes, Docker See also Kubernetes object names --output string
Print the resource to the console in a structured output format instead of submitting it to the Skupper controller.
Choices json
Produce JSON output
yaml
Produce YAML output
Platforms Kubernetes, Docker --timeout string (duration)
Raise an error if the operation does not complete in the given period of time.
Default 60s
Platforms Kubernetes, Docker port integer, required
The port on the target workload to forward traffic to.
Platforms Kubernetes, Docker --routing-key string
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
Platforms Kubernetes, Docker See also Routing key concept --host string
The hostname or IP address of the server. This is an alternative to
selector
for specifying the target server.Platforms Kubernetes, Docker --type string
The connector type.
Default tcp
Platforms Kubernetes, Docker --selector string
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]
Platforms Kubernetes See also Kubernetes label selectors, Kubernetes pods --workload string (resource name)
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.Platforms Kubernetes See also Kubernetes workloads --include-not-ready boolean
If set, include server pods that are not in the ready state.
Default False Platforms Kubernetes See also Kubernetes pod lifecycle --namespace string
Set the namespace.
Platforms Kubernetes, Docker See also Namespace concept, Kubernetes namespaces --context string
Set the kubeconfig context.
Platforms Kubernetes See also Kubernetes kubeconfigs --kubeconfig string
Set the path to the kubeconfig file.
Platforms Kubernetes See also Kubernetes kubeconfigs --platform string
Set the Skupper platform.
Choices kubernetes
Kubernetes
docker
Docker or Podman
Platforms Kubernetes, Docker See also Platform concept --help
Display help and exit.
Platforms Kubernetes, Docker