Deploys a local Kubernetes cluster. Using a master node and 1 minion. Created for experimenting and playing around with a kubernetes cluster locally under Windows (or Linux).
- Creates a master and a worker node
- Taint is removed from master, so master is utilized as a worker node
- Helm installed on master
- Default storageclass is set
- Calico pod network
- Local path provisioner
https://github.com/rancher/local-path-provisioner
- Virtualbox
- Vagrant
- Install box, use virtualbox provider
vagrant box add ubuntu/bionic64
Sometimes box download with Vagrant is very slow. There is anoteher way to add box.
- Download box separatly,
curl -O https://app.vagrantup.com/ubuntu/boxes/bionic64/versions/20200618.0.0/providers/virtualbox.box
- Add box
vagrant box add ubuntu/bionic64 <downloaded_file_path>
- Clone this repo
- run
vagrant up
- run
vagrant ssh k8s-master