Inizio ad approfondire bene il progetto Kubespray → https://kubespray.io/#/docs/CSI/aws-ebs-csi

https://github.com/kubernetes-sigs/kubespray

Learning how to provision a kubespray cluster

https://kubespray.io/#/docs/getting_started/setting-up-your-first-cluster

Computing resources needed for kubespray setup on a single region

Kubespray setup

As Ansible is a python application, we will create a fresh virtual environment to install the dependencies for the Kubespray playbook:

python3 -m venv venv
source venv/bin/activate

Next, we will git clone the Kubespray code into our working directory:

git clone <https://github.com/kubernetes-sigs/kubespray.git>
cd kubespray
git checkout release-2.17

Now we need to install the dependencies for Ansible to run the Kubespray playbook:

pip install -r requirements.txt

Copy inventory/sample as inventory/mycluster:

cp -rfp inventory/sample inventory/mycluster

Update the sample Ansible inventory file with ip given by the cloud provider:

command