Networking
Prepare and configure network services for your Layer5 Cloud deployment.
When planning your self-hosted Layer5 Cloud deployment, consider how you will initialize and configure your provider instance. The INIT_CONFIG environment variable enables you to automate provider configuration during deployment.
Before deploying, plan your configuration approach:
The Provider Admin organization is a special organization identified by the hardcoded UUID 11111111-1111-1111-1111-111111111111. It represents the root administrative organization for the cloud platform.
The INIT_CONFIG environment variable accepts a YAML configuration with the following structure:
organization:
name: "Layer5"
description: "The uber organization for all things Layer5."
country: "United States"
region: "North America"
user:
first_name: "Admin"
last_name: "User"
email: "admin@layer5.io"
username: "admin@layer5.io" # Optional, defaults to email if not provided
password: "change-me-on-first-login" # Required
To enable Provider Admin organization initialization, set the INIT_CONFIG environment variable with the entire YAML configuration as its value:
INIT_CONFIG='organization:
name: "Layer5"
description: "The uber organization for all things Layer5."
country: "United States"
region: "North America"
user:
first_name: "Admin"
last_name: "User"
email: "admin@layer5.io"
username: "admin@layer5.io"
password: "change-me-on-first-login"'
Organization:
name: Name of the provider organization (required)description: Description of the organization (optional)country: Country where the organization is located (optional)region: Region where the organization is located (optional)User:
first_name: First name of the provider admin user (required)last_name: Last name of the provider admin user (required)email: Email address of the provider admin user (required)username: Username for the provider admin user (optional, defaults to email)password: Password for the provider admin user (required)When the server starts and INIT_CONFIG is set:
11111111-1111-1111-1111-111111111111)The initialization process is idempotent:
If initialization fails:
You can set the INIT_CONFIG environment variable using several methods:
Option A (Helm with inline values): Include initConfig in the Helm values.yaml file with the YAML configuration as a multiline string
Option B (Helm with –set-file flag): Use --set-file to load configuration from a separate file:
helm install meshery-cloud ./install/kubernetes/helm/layer5-cloud \
--set-file env.initConfig=./config/provider-init.yaml.example
Option C (Direct environment variable): Set the INIT_CONFIG environment variable with the YAML content as a string
The INIT_CONFIG environment variable allows you to pre-configure your provider during deployment, eliminating manual setup steps. This is particularly valuable for:
For detailed configuration options, see the configuration schema below.
Layer5 acknowledges the importance of air-gapped deployments and ensures content support for such environments. Content registered should be available even in the absence of internet connectivity, thus aligning with Layer5’s commitment to versatile deployment scenarios.
Prepare and configure network services for your Layer5 Cloud deployment.
Understand identity services prerequisites and how to integrate your existing identity with OIDC.