Site generate command¶
A site is a place where components of your application are running. Sites are linked to form application networks. There can be only one site definition per namespace. Generate a site resource to evaluate what will be created with the site create command
| 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¶
--enable-ha
boolean
Configure the site for high availability (EnableHA). EnableHA sites have two active routers
--enable-link-access
boolean
allow access for incoming links from remote sites (default: false)
| Default |
|
|---|
--help
boolean
help for generate
--link-access-type
<string>
configure external access for links from remote sites. Choices: [route|loadbalancer]. Default: On OpenShift, route is the default; for other Kubernetes flavors, loadbalancer is the default. -o, --output string print resources to the console instead of submitting them to the Skupper controller. Choices: json, yaml (default "yaml") ``` ``` -c, --context string Set the kubeconfig context
| Default |
| ||||
|---|---|---|---|---|---|
| Choices |
|
--kubeconfig
<string>
Path to the kubeconfig file to use -n, --namespace string Set the namespace -p, --platform string Set the platform type to use [kubernetes, podman, docker, linux] ```