Este contenido no está disponible en el idioma seleccionado.

Chapter 17. Creating a site on local systems using YAML


Using YAML allows you to create and manage sites on Docker, Podman and Linux.

A typical workflow is to create a site, link sites together, and expose services to the application network.

If you require more than one site, specify a unique namespace when using skupper, for example skupper --namespace second-site ....

17.1. Creating a simple site on local systems using YAML

You can use YAML to create and manage Skupper sites.

Prerequisites

  • The skupper CLI is installed.

Procedure

  1. Create a site CR YAML file named my-site.yaml in an empty directory, for example, local:

    apiVersion: skupper.io/v2alpha1
    kind: Site
    metadata:
      name: my-site
    Copy to Clipboard Toggle word wrap

    This YAML creates a site named my-site in the default namespace.

  2. Create the site:

    skupper system setup --path ./local
    Copy to Clipboard Toggle word wrap

    Skupper attempts to process any files in the local directory. Typically, you create all resources you require for a site before running skupper system setup.

  3. Check the status of the site:

    skupper site status
    Copy to Clipboard Toggle word wrap

    You might need to issue the command multiple times before the site is ready:

    NAME    STATUS  MESSAGE
    default Ready   OK
    Copy to Clipboard Toggle word wrap

    You can now link this site to another site to create an application network.

There are many options to consider when creating sites using YAML, see YAML Reference, including frequently used options.

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