Link resource

A link is a channel for communication between sites. Links carry application connections and requests. A set of linked sites constitutes a network.

A Link resource specifies remote connection endpoints and TLS credentials for establishing a mutual TLS connection to a remote site. To create an active link, the remote site must first enable link access. Link access provides an external access point for accepting links.

Note: Links are not usually created directly. Instead, you can use an access token to obtain a link.

Metadata properties

name

string
required

The name of the resource.

See alsoKubernetes object names

namespace

string

The namespace of the resource.

See alsoPlatform concept, Kubernetes namespaces, System namespaces

Spec properties

endpoints

array
required

An array of connection endpoints. Each item has a name, host, port, and group.

cost

integer

The configured routing cost of sending traffic over the link.

Default1
See alsoLoad balancing

tlsCredentials

string

The name of a bundle of certificates used for mutual TLS router-to-router communication. The bundle contains the client certificate and key and the trusted server certificate (usually a CA).

On Kubernetes, the value is the name of a Secret in the current namespace.

On Docker, Podman, and Linux, the value is the name of a directory under input/certs/ in the current namespace.

See alsoRouter TLS, Kubernetes TLS secrets, System TLS credentials

Status properties

status

string

The current state of the resource.

  • Pending: The resource is being processed.
  • Error: There was an error processing the resource. See message for more information.
  • Ready: The resource is ready to use.
See alsoResource status

message

string

A human-readable status message. Error messages are reported here.

See alsoResource status

remoteSiteId

string

The unique ID of the site linked to.

remoteSiteName

string

The name of the site linked to.