c12s-kubespray/docs/cloud.md
2017-06-23 12:35:10 -04:00

23 lines
477 B
Markdown

Cloud providers
==============
#### Provisioning
You can use kubespray-cli to start new instances on cloud providers
here's an example
```
kubespray [aws|gce] --nodes 2 --etcd 3 --cluster-name test-smana
```
#### Deploy kubernetes
With kubespray-cli
```
kubespray deploy [--aws|--gce] -u admin
```
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
```