mirror of
https://github.com/clearlinux/clear-linux-documentation.git
synced 2026-09-06 05:41:44 +00:00
ciao: Deprecate the use of ciao-deploy container
Signed-off-by: Alberto Murillo Silva <alberto.murillo.silva@intel.com>
This commit is contained in:
+17
-32
@@ -36,13 +36,24 @@ that, configure a user for passwordless SSH connections from the deployment
|
||||
container to the cluster nodes. This user must also have passwordless sudo
|
||||
privileges on the cluster nodes.
|
||||
|
||||
This guide uses a Docker* container to provide all the needed deployment tools;
|
||||
in order to use it, you will need Docker in the machine you're using to orchestrate
|
||||
your deployment.
|
||||
|
||||
|
||||
Configure your cluster setup
|
||||
============================
|
||||
The deployment node requires the following software to be installed:
|
||||
* ansible>=2.2.1.0
|
||||
* openstackclient
|
||||
* python-netaddr
|
||||
* gcc
|
||||
* go>=1.7
|
||||
* git
|
||||
|
||||
You can install all of them with the following command
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
# swupd bundle-add sysadmin-hostmgmt c-basic go-basic openstack-python-clients
|
||||
|
||||
|
||||
You will need to download the ciao example deployment as follows:
|
||||
|
||||
.. code-block:: console
|
||||
@@ -73,40 +84,14 @@ A full list of available variables can be found in the
|
||||
:file:`defaults/main.yml` file of each role at
|
||||
https://github.com/01org/ciao/tree/master/_DeploymentAndDistroPackaging/ansible/roles.
|
||||
|
||||
To start your cluster setup, we provide a ready-to-use Docker container.
|
||||
Simply download it and run your setup:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ docker pull clearlinux/ciao-deploy
|
||||
|
||||
|
||||
You can later launch the container with:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ docker run --privileged -v /dev/:/dev/
|
||||
-v /path/to/your/.ssh/key:/root/.ssh/id_rsa \
|
||||
-v $(pwd)/ciao:/root/ciao \
|
||||
-it clearlinux/ciao-deploy
|
||||
|
||||
.. note::
|
||||
|
||||
The cotainer needs `--privileged -v /dev/:/dev/` in order to
|
||||
install your certificates in the `CNCI image`_.
|
||||
To learn more about the Docker options used, please refer to the
|
||||
`Docker* documentation`_.
|
||||
|
||||
|
||||
Run the playbook
|
||||
================
|
||||
Once the variables and hosts file are configured, continue in the
|
||||
`/root/ciao/_DeploymentAndDistroPackaging/ansible` directory and
|
||||
start the deployment:
|
||||
Once the variables and hosts file are configured, start the deployment:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
# cd /root/ciao/_DeploymentAndDistroPackaging/ansible
|
||||
# cd ciao/_DeploymentAndDistroPackaging/ansible/
|
||||
|
||||
# ansible-playbook -i hosts ciao.yml \
|
||||
--private-key=~/.ssh/id_rsa \
|
||||
|
||||
Reference in New Issue
Block a user