c12s-kubespray/docs/cloud.md

14 lines
406 B
Markdown
Raw Permalink Normal View History

2019-12-04 15:22:57 +00:00
# Cloud providers
2016-07-04 12:13:18 +00:00
2019-12-04 15:22:57 +00:00
## Provisioning
2016-07-04 12:13:18 +00:00
You can deploy instances in your cloud environment in several different ways. Examples include Terraform, Ansible (ec2 and gce modules), and manual creation.
2016-07-04 12:13:18 +00:00
2019-12-04 15:22:57 +00:00
## Deploy kubernetes
2016-07-04 12:13:18 +00:00
With ansible-playbook command
2019-12-04 15:22:57 +00:00
```ShellSession
2016-07-04 12:13:18 +00:00
ansible-playbook -u smana -e ansible_ssh_user=admin -e cloud_provider=[aws|gce] -b --become-user=root -i inventory/single.cfg cluster.yml
```