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.

  1. Follow the instructions for Installing Skupper.
  2. Verify the installation.

    $  skupper version
    COMPONENT               VERSION
    cli                     {skupper_cli_version}
    Copy to Clipboard Toggle word wrap
  3. For podman sites:

    Make sure the Podman socket is available. To enable it:

    systemctl --user enable --now podman.socket
    Copy to Clipboard Toggle word wrap

    Enable lingering to ensure the site persists over logouts:

    loginctl enable-linger <username>
    Copy to Clipboard Toggle word wrap

13.2. Creating a simple site using the CLI on local systems

Prerequisites

  • The skupper CLI is installed.

Procedure

  1. Set the SKUPPER_PLATFORM for type of site you want to install:

    • podman
    • docker
    • linux
  2. Create a site:

    $ skupper site create <site-name>
    Copy to Clipboard Toggle word wrap

    For example:

    $ skupper site create my-site
    Waiting for status...
    Site "my-site" is ready.
    Copy to Clipboard Toggle word wrap

📌 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 skupper CLI is installed.

Procedure

  1. Enter the following command to delete a site:

    skupper system teardown
    Copy to Clipboard Toggle word wrap
Volver arriba
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2025 Red Hat