testing purposes only
local clusters require virtualbox or an alternative (kvm) supported by vagrant vagrant & ansible
e.g. get a full running Kubernetes cluster with a master/control-plane and 2 worker nodes in 3 simple steps:
- install virtualbox, vagrant & ansible
- clone this repo,
cd
tokubes-local-vagrant-ubuntu-ansible
- run
vagrant up
To interact with the cluster, use its cluster config (see task Setup kubeconfig for vagrant user
) or SSH into the master node by vagrant ssh k8s-master