Unfortunately there isn't yet a way to bring up the whole cluster with one single command: it's necessary to first create the infrastructure with Terraform and then to provision and configure the machines with Salt.
So once all the virtual machines are up and running it's time to install software and configure them. Our Salt scripts are located here, where you can find all the documentation about the provisioning process and the Salt orchestration.
You can trigger the orchestration on the Administration Dashboard with
the following ssh
command:
$ ssh -i ssh/id_docker root@`terraform output ip_dashboard` \
bash /tmp/salt/provision-dashboard.sh --finish
After the orchestration you will find an environment like this:
Then follow the instructions given by the provisioning script.
Notes:
- the certificate generated for the API server includes the list of IPs
automatically detected by provisioning script. However, this is not enough
in some cases when the API server will be accessed at some other IP
(for example, when the server is behind a NAT or when a floating IP is
assigned to it in a OpenStack cluster). In those cases, you should
specify that IP in with
--extra-api-ip <IP>
.