infrapuzzle/bootstrap/README.md

23 lines
682 B
Markdown

# 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.
```sh
git clone https://github.com/kubernetes-sigs/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:
```sh
cp ./kubespray/Vagrantfile .
```