Deploy a local kubernetes cluster using vagrant and kubeadm.
Simply use vagrant up
to create a multi-node cluster.
> cd kubeadm-vagrant-cluster
> vagrant up
Kubernetes version: 1.23
CRI: Containerd
CNI: Calico
By default it will create a 3 nodes cluster with the following:
- Linux: ubuntu 20.04
- Master node: 2 CPU and 4096 MB RAM
- Workers node: 2 CPU and 2048 MB RAM
Metrics server is also available.
Everything have variable at the top of Vagrantfile
, you can easily change it based on your need.