Listener resource

A connection endpoint for communicating with workloads in remote sites.

Each site can have multiple listener definitions.

apiVersion: skupper.io/v2alpha1
kind: Listener

Examples

A listener in site West for the Hello World backend service in site East:

apiVersion: skupper.io/v2alpha1
kind: Listener
metadata:
  name: backend
  namespace: hello-world-west
spec:
  routingKey: backend
  port: 8080
  host: backend

Metadata properties

name

string
required

The name of the resource.

PlatformsKubernetes, Docker, Podman, Linux

Spec properties

routingKey

string
required

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.

PlatformsKubernetes, Docker, Podman, Linux
See alsoRouting key concept

host

string
required

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.

PlatformsKubernetes, Docker, Podman, Linux

port

integer
required

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, Podman, Linux

Status properties