2016-07-04 12:13:18 +00:00
|
|
|
Cloud providers
|
|
|
|
==============
|
|
|
|
|
|
|
|
#### Provisioning
|
|
|
|
|
2017-06-23 16:35:10 +00:00
|
|
|
You can use kubespray-cli to start new instances on cloud providers
|
2016-07-04 12:13:18 +00:00
|
|
|
here's an example
|
|
|
|
```
|
2017-06-23 16:35:10 +00:00
|
|
|
kubespray [aws|gce] --nodes 2 --etcd 3 --cluster-name test-smana
|
2016-07-04 12:13:18 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
#### Deploy kubernetes
|
|
|
|
|
2017-06-23 16:35:10 +00:00
|
|
|
With kubespray-cli
|
2016-07-04 12:13:18 +00:00
|
|
|
```
|
2017-06-23 16:35:10 +00:00
|
|
|
kubespray deploy [--aws|--gce] -u admin
|
2016-07-04 12:13:18 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
Or ansible-playbook command
|
|
|
|
```
|
|
|
|
ansible-playbook -u smana -e ansible_ssh_user=admin -e cloud_provider=[aws|gce] -b --become-user=root -i inventory/single.cfg cluster.yml
|
|
|
|
```
|