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
|
|
|
|
2023-02-01 16:01:06 +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
|
|
|
|
2018-02-05 23:00:21 +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
|
|
|
|
```
|