kubespray/docs/cloud_providers/cloud.md

543 B

Cloud providers

Removed: Since v1.31 (the Kubespray counterpart is v2.27), Kubernetes no longer supports cloud_provider. (except external cloud provider)

Provisioning

You can deploy instances in your cloud environment in several ways. Examples include Terraform, Ansible (ec2 and gce modules), and manual creation.

Deploy kubernetes

With 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