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
skupperCLI is installed. - You are logged into the cluster.
- The services you want to expose on the service network are in the active namespace.
Procedure
Create a default site:
$ skupper init
Check the site:
$ skupper status Skupper is enabled for namespace "west" in interior mode. It is not connected to any other sites.
NoteThe 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
adminuser is stored in theskupper-console-userssecret. 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 noneif you do not want other sites to link to this site. Other ingress options are not supported.