Este contenido no está disponible en el idioma seleccionado.
Chapter 13. Creating a site on a local system using the Skupper CLI
Using the skupper command-line interface (CLI) allows you to create and manage Skupper sites from the context of the current user.
A typical workflow is to create a site, link sites together, and expose services to the service network.
A local system includes Docker, Podman or Linux system.
			If you require more than one site, specify a unique namespace when using skupper, for example skupper --namespace second-site ....
		
13.1. Checking the Skupper CLI and environment
Installing the skupper command-line interface (CLI) provides a simple method to get started with Skupper.
- Follow the instructions for Installing Skupper.
- Verify the installation. - skupper version - $ skupper version COMPONENT VERSION cli {skupper_cli_version}- Copy to Clipboard Copied! - Toggle word wrap Toggle overflow 
- For podman sites: - Make sure the Podman socket is available. To enable it: - systemctl --user enable --now podman.socket - systemctl --user enable --now podman.socket- Copy to Clipboard Copied! - Toggle word wrap Toggle overflow - Enable lingering to ensure the site persists over logouts: - loginctl enable-linger <username> - loginctl enable-linger <username>- Copy to Clipboard Copied! - Toggle word wrap Toggle overflow 
13.2. Creating a simple site using the CLI on local systems
Prerequisites
- 
						The skupperCLI is installed.
Procedure
- Set the - SKUPPER_PLATFORMfor type of site you want to install:- 
								podman
- 
								docker
- 
								linux
 
- 
								
- Create a site: - skupper site create <site-name> - $ skupper site create <site-name>- Copy to Clipboard Copied! - Toggle word wrap Toggle overflow - For example: - skupper site create my-site - $ skupper site create my-site Waiting for status... Site "my-site" is ready.- Copy to Clipboard Copied! - Toggle word wrap Toggle overflow 
📌 NOTE: On non-Kubernetes sites, you can create multiple sites per-user by specifying a namespace.
13.3. Deleting a site using the CLI on local systems
Prerequisites
- 
						The skupperCLI is installed.
Procedure
- Enter the following command to delete a site: - skupper system teardown - skupper system teardown- Copy to Clipboard Copied! - Toggle word wrap Toggle overflow