Listener update command

Update a listener.

Usage

skupper listener update <name> [options]

Output

Waiting for update to complete...
Listener "<name>" is updated.

Examples

# Change the host and port
skupper listener update database --host mysql --port 3306

# Change the routing key
skupper listener update backend --routing-key be2

# Produce YAML output
skupper listener update backend --port 9090 --output yaml

Options

  • name string, required

    The name of the resource to be updated.

    PlatformsKubernetes, Docker
    See alsoKubernetes object names
  • --port integer

    The port of the local listener. Clients at this site use the listener host and port to establish connections to the remote service.

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

    PlatformsKubernetes, Docker
  • --timeout string (duration)

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

    Default

    60s

    PlatformsKubernetes, Docker
  • --routing-key string

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

    Default

    Value of name

    PlatformsKubernetes, Docker
    See alsoRouting key concept
  • --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.

    Default

    Value of name

    PlatformsKubernetes, Docker
  • --tls-secret string

    The name of a Kubernetes secret containing TLS credentials. The secret contains the trusted server certificate (typically a CA).

    It can optionally include a client certificate and key for mutual TLS.

    This option is used when setting up router-to-server TLS encryption.

    PlatformsKubernetes, Docker
    See alsoSite-scoped TLS
  • --type string

    The listener type.

    Default

    tcp

    PlatformsKubernetes, Docker
  • --namespace string

    Set the namespace.

    PlatformsKubernetes, Docker
    See alsoNamespace concept, Kubernetes namespaces
  • --context string

    Set the kubeconfig context.

    PlatformsKubernetes
    See alsoKubernetes kubeconfigs
  • --kubeconfig string

    Set the path to the kubeconfig file.

    PlatformsKubernetes
    See alsoKubernetes kubeconfigs
  • --platform string

    Set the Skupper platform.

    Choices
    kubernetes

    Kubernetes

    docker

    Docker or Podman

    PlatformsKubernetes, Docker
    See alsoPlatform concept
  • --help

    Display help and exit.

    PlatformsKubernetes, Docker