-
Before you create the stack configuration files for a Wind River Cloud Platform deployment:
- Collect the IP addresses and server information for Controller-0, Controller-1, and any optional Worker 0-n components in the Central Cloud.
Follow these steps to prepare the stack configuration files that are needed for the Wind River Cloud Platform stack deployment: - Establish a CLI session on the Bare Metal Orchestrator VM and log in. For high availability configurations, establish a CLI session using the virtual IP (VIP) of the Load Balancers for the Bare Metal Orchestrator cluster.
- Go to ~/samples/stacks/windriver and download these sample stack deployment configuration files to your local machine.
- deployment_config.yaml: defines the host profile information for Controller-0, Controller-1, and worker 0-n, network information for each of the sites in the cloud cluster, NTP and DNS server information, and start-up file system information.
- installer_config.yaml: defines the username, password, and network information for each Controller-0 component for a particular site in the cloud cluster, cluster host details, PXE boot details, and OAM details.
- Edit the files to add the necessary configuration information (IP addresses, username, password, VLANs, network information, and so on).
- Using the CLI, run the following command to upload the edited files to the folder called stack in the web server:
bmo upload fs -f <file name> -m <folder name>
where <file name>
is the name of the stack configuration file and <folder name>
is stack.
Note: When the installer_config.yaml file is uploaded, ensure that in the registry URL, the image is placed right after the registry. For example, url: myregistry.wr.lab:5000/k8s.gcr.io. There should not be any subfolders in the image path. If for example, url: myregistry.wr.lab:5000/wrcp-cd/k8s.gcr.io, is used, stack deployment fails due to the subfolder, wrcp-cd.
- Optional: Run the following command to list the contents of the stack folder:
bmo get fs -m <folder name>
where <folder name>
is stack.