Site generate command
skupper site generate <name> [options]
Generate a Site resource.
| Platforms | Kubernetes, 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>
The name of the resource to be generated.
| See also | Kubernetes object names |
|---|
--enable-link-access
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 also | Link concept |
|---|
--output
Select the output format.
| Default |
| ||||
|---|---|---|---|---|---|
| Choices |
|
--link-access-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 |
| ||||||
|---|---|---|---|---|---|---|---|
| Choices |
| ||||||
| Platforms | Kubernetes | ||||||
| Updatable | True |
--enable-ha
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.
| Default | False |
|---|---|
| Platforms | Kubernetes |
| Updatable | True |
Global options
--platform
Set the Skupper platform.
| Default |
| ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Choices |
| ||||||||
| See also | Platform concept |
--help
Display help and exit.