Connector create command
Create a connector.
Usage
skupper connector create <name> <port> [options]
Output
Waiting for status...
Connector "<name>" is ready.
Examples
# Create a connector for a database
skupper connector create database 5432
# Set the routing key and workload explicitly
skupper connector create backend 8080 --routing-key be1 --workload deployment/backend
# Produce YAML output
skupper connector create backend 8080 --output yaml
Options
name string, required
The name of the resource to be created.
Platforms Kubernetes, Docker See also Kubernetes object names port integer, required
The port on the target workload to forward traffic to.
Platforms Kubernetes, Docker --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 --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