add documentation

This commit is contained in:
Smaine Kahlouch
2016-07-04 14:13:18 +02:00
parent ee7ac22f0d
commit 585102ee20
10 changed files with 370 additions and 25 deletions

22
docs/cloud.md Normal file
View File

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