Yaguang Tang | 4ac0d68 | 2025-03-07 23:33:37 +0800 | [diff] [blame] | 1 | ====================== |
| 2 | Environment Deployment |
| 3 | ====================== |
| 4 | |
| 5 | After you create the inventory, and update the configuration files for OpenStack services, |
| 6 | Kubernetes, Ceph and certificates, you can deploy the Atmosphere platform using the following |
| 7 | commands: |
| 8 | |
| 9 | .. code-block:: bash |
| 10 | |
| 11 | python3 -m venv atmosphere-venv && source atmosphere-venv/bin/activate |
| 12 | |
| 13 | pip install -r atmosphere/requirements.txt |
| 14 | cd cloud-config |
| 15 | ansible-galaxy install -r requirements.yml |
| 16 | ansible-playbook -i inventory/hosts.ini -u ubuntu -b playbooks/site.yml |
| 17 | |
| 18 | It's suggested to run the deployment process from a dedicated machine that |
| 19 | has ssh access to all the hosts in the inventory file. |
| 20 | |
| 21 | You can edit the site.yml to include only the roles that you need to deploy |
| 22 | if you want to deploy only a subset of the platform at a time. |