infrapuzzle/bootstrap
Moritz Graf f48650456b Working k8s cluster 2020-04-04 12:18:18 +02:00
..
.gitignore Switching to better vagrant initscript 2020-02-16 13:52:08 +01:00
README.md Working k8s cluster 2020-04-04 12:18:18 +02:00
dev.ini Working k8s cluster 2020-04-04 12:18:18 +02:00
init.sh Working k8s cluster 2020-04-04 12:18:18 +02:00
prod.ini Working k8s cluster 2020-04-04 12:18:18 +02:00

README.md

Bootstrap

The following lines document hwo to initalize a fresh cluster. On a real cluster, or using Vagrant. It therefore assumes to clone kubespray to this folder. It will be excluded in .gitignore and all files are in this folder.

git clone https://github.com/kubernetes-sigs/kubespray.git
#git clone git@github.com:iptizer/kubespray.git
./init_kubespray.sh
cd kubespray
vagrant up
# up and abkle to ssh
vagrant ssh k8s-1

TODO 16.02.2020: Vagrant up works but no k8s is installed. Maybe due to wrong ansible playbook or because from here on kubespray should kick in

Done steps

The following steps have been done while first setup and are not required to be redone:

cp ./kubespray/Vagrantfile .