Site generate command

skupper site generate <name> [options]

Generate a Site resource.

PlatformsKubernetes, Docker, Podman, Linux

Examples

# Generate a Site resource and print it to the console
$ skupper site generate west --enable-link-access
apiVersion: skupper.io/v2alpha1
kind: Site
metadata:
  name: west
spec:
  linkAccess: default

# Generate a Site resource and direct the output to a file
$ skupper site generate east > east.yaml

Primary options

<name>

string
required

The name of the resource to be generated.

See alsoKubernetes object names
boolean
frequently used

Allow 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.

See alsoLink concept, Site linking

--output

(-o) <format>

Select the output format.

Default

yaml

Choices
json

Produce JSON output

yaml

Produce YAML output

<type>

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

default

Choices
default

Use the default link access. 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. Kubernetes only.

PlatformsKubernetes
UpdatableTrue
See alsoSite linking

--enable-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
PlatformsKubernetes
UpdatableTrue
See alsoHigh availability

Global options