An open API service indexing awesome lists of open source software.

https://github.com/bbckr/home-k8s-setup-1


https://github.com/bbckr/home-k8s-setup-1

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          

# home-k8s-setup-1
Vagrant initialization of home kubernetes setup.
### Requires
- VirtualBox
- Vagrant
## Before Running Locally on the Host...
``` bash
# Generate random KUBETOKEN for kubeadm join (be sure to safely store the generated value for reuse)
export KUBETOKEN="$(tr -cd 'a-z0-9' < /dev/urandom | fold -w 6 | head -n 1).$(tr -cd 'a-z0-9' < /dev/urandom | fold -w 16 | head -n 1)"

# Generate ssh key if you haven't already at id_rsa
```

## Cheat Sheet
``` bash
# start cluster
vagrant up

# tear down cluster
vagrant destroy -f

# ssh into node
vagrant ssh ${NODE_NAME}
```