Prepare the Target Hosts¶

Important
Skip this step if you are bringing your own SES, CaaSP, and deployer environment (recommended).
Apply these commands if you are running on OpenStack and want to construct your environment from scratch.
Warning
You must export the right environment variables for run.sh to work with the openstack deployment mechanism. Verify that they are set appropriately. See Configure OpenStack deployment mechanism (experimental).
The script run.sh¶
This is the script that launch the Ansible scripts to deploy socok8s through some commands.
Each command launch an specific function in one of scripts allocated in /script_library. This function will run one of the Ansible playbooks allocated in /playbooks
For instance, deploy_airship will to call the function deploy_airship() in /script_library/deployment-actions-common.sh that after prepare some variables will run the Ansible playbook allocated in /playbooks/generic-deploy_airship.yml This script can launch one or more additional scripts (roles) allocated in the shared library in /playbooks/roles
In separate steps¶
Create your SES node. The SES All-In-One (AIO) node has the following requirements:
(v)CPU: 6
Memory: 16GB
Storage: 80GB
When SES is deployed as AIO, two additional 60GB storage disks must be added to the node for OSD.
Create network:
./run.sh deploy_network
Configure SES-AIO:
./run.sh deploy_ses
Create the CaaSP cluster nodes in the cloud:
./run.sh deploy_caasp
Create the deployer node:
./run.sh deploy_ccp_deployer
Configure the deployer node:
./run.sh configure_ccp_deployer
Enroll all the CaaSP nodes into their roles (master, admin, and workers):
./run.sh enroll_caasp_workers