Site create command
skupper site create <name> [options]
Create a site.
| Platforms | Kubernetes, Docker, Podman, Linux |
|---|---|
| Waits for | Ready |
Examples
# Create a site
$ skupper site create west
Waiting for status...
Site "west" is ready.
# Create a site that can accept links from remote sites
$ skupper site create west --enable-link-access
Primary options
<name>
A name of your choice for the Skupper site. This name is displayed in the console and CLI output.
| 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 |
|---|
--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 |
--timeout
Raise an error if the operation does not complete in the given period of time.
| Default |
|
|---|---|
| Platforms | Kubernetes |
| See also | Duration format |
--wait
Wait for the given status before exiting.
| Default |
| ||||||
|---|---|---|---|---|---|---|---|
| Choices |
| ||||||
| Platforms | Kubernetes |
Global options
--context
Set the kubeconfig context.
| Platforms | Kubernetes |
|---|---|
| See also | Kubernetes kubeconfigs |
--kubeconfig
Set the path to the kubeconfig file.
| Platforms | Kubernetes |
|---|---|
| See also | Kubernetes kubeconfigs |
--namespace
Set the current namespace.
| See also | Kubernetes namespaces |
|---|
--platform
Set the Skupper platform.
| Default |
| ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Choices |
| ||||||||
| See also | Platform concept |
--help
Display help and exit.
Errors
A site resource already exists
There is already a site resource defined for the namespace.