mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 05:45:06 +03:00
477 B
477 B
Cloud providers
Provisioning
You can use kubespray-cli to start new instances on cloud providers here's an example
kubespray [aws|gce] --nodes 2 --etcd 3 --cluster-name test-smana
Deploy kubernetes
With kubespray-cli
kubespray 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