kubespray/docs/cloud_providers/cloud.md

14 lines
396 B
Markdown
Raw Normal View History

2019-12-04 23:22:57 +08:00
# Cloud providers
2016-07-04 20:13:18 +08:00
2019-12-04 23:22:57 +08:00
## Provisioning
2016-07-04 20:13:18 +08:00
You can deploy instances in your cloud environment in several ways. Examples include Terraform, Ansible (ec2 and gce modules), and manual creation.
2016-07-04 20:13:18 +08:00
2019-12-04 23:22:57 +08:00
## Deploy kubernetes
2016-07-04 20:13:18 +08:00
With ansible-playbook command
2019-12-04 23:22:57 +08:00
```ShellSession
2016-07-04 20:13:18 +08: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
```