Site resource

A site is a place on the network where application workloads are running. Sites are joined by links.

The Site resource is the basis for site configuration. It is the parent of all Skupper resources in its namespace. There can be only one active Site resource per namespace.

Examples

A minimal site:

apiVersion: skupper.io/v2alpha1
kind: Site
metadata:
  name: east
  namespace: hello-world-east

A site configured to accept links:

apiVersion: skupper.io/v2alpha1
kind: Site
metadata:
  name: west
  namespace: hello-world-west
spec:
  linkAccess: default

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

string
frequently used

Configure external access for links from remote sites.

Sites and links are the basis for creating application networks. In a simple two-site network, at least one of the sites must have link access enabled.

Default

none

Choices
none

No linking to this site is permitted.

default

Use the default link access for the current platform. On OpenShift, the default is route. For other Kubernetes flavors, the default is loadbalancer.

route

Use an OpenShift route. OpenShift only.

loadbalancer

Use a Kubernetes load balancer.

UpdatableTrue
See alsoLink concept, Site linking

ha

boolean

Configure the site for high availability (HA). HA sites have two active routers.

Note that Skupper routers are stateless, and they restart after failure. This already provides a high level of availability. Enabling HA goes further and reduces the window of downtime caused by restarts.

DefaultFalse
UpdatableTrue
See alsoHigh availability

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