Chapter 2. Creating a site using the CLI

A service network consists of Application Interconnect sites. This section describes how to create a site using the default settings.

Prerequisites

  • The skupper CLI is installed.
  • You are logged into the cluster.
  • The services you want to expose on the service network are in the active namespace.

Procedure

  1. Create a default site:

    $ skupper init
  2. Check the site:

    $ skupper status
    
    Skupper is enabled for namespace "west" in interior mode. It is not connected to any other sites.
    Note

    The default message above is displayed when you initialize a site on a cluster that does not have the policy system installed. If you install the policy system as described in Securing a service network using policies, the message becomes Skupper is enabled for namespace "west" in interior mode (with policies).

The default site settings include:

  • console - The Skupper console is provisioned with a single user. The password for the admin user is stored in the skupper-console-users secret. For more information on the console, see Using the Skupper console.
  • site name - The site name defaults to the namespace name, for example, west.
  • ingress - An ingress is created to support linking to the site you are creating. By default, a route is created. You can specify --ingress none if you do not want other sites to link to this site. Other ingress options are not supported.