Dernière activité 1729791053

Révision 38548f413063026d4caebbdf176e0e490b7814a0

Kubespray-readme-3.sh Brut
1git checkout v2.26.0
2docker pull quay.io/kubespray/kubespray:v2.26.0
3docker run --rm -it --mount type=bind,source="$(pwd)"/inventory/sample,dst=/inventory \
4 --mount type=bind,source="${HOME}"/.ssh/id_rsa,dst=/root/.ssh/id_rsa \
5 quay.io/kubespray/kubespray:v2.26.0 bash
6# Inside the container you may now run the kubespray playbooks:
7ansible-playbook -i /inventory/inventory.ini --private-key /root/.ssh/id_rsa cluster.yml