Bootstrap a local Ubunto 22.04
or Debian 12
2 nodes cluster using Vagrant in order to test kubernetes installation procedure.
If you are looking for a way to practice k8s installation procedure then you are in the right place. This project aim to help quickly bootstrap a training k8s-free cluster for testing k8s installation procedure.
Please go ahead and install these two components from their official website.
vagrant up
Now Vagrant will start provisioning the cluster starting with the controlplane
node and the the worker node.
This setup is available with 2 nodes: a master node (controlplane
) and a worker node (node01
).
If you wish to bootstrap additional worker nodes please feel free to update your VagrantFile
accordingly.
Once the bootstrap process finished go ahead and inspect your cluster using the following command:
vagrant global-status
vagrant ssh controlplane
Now you may start playing around with the cluster and practice kubernetes installation. Please refer to k8s documentation for further details about Bootstrapping clusters with kubeadm.
vagrant destroy -f
Name | IP address | CPU | Memory(Mi) |
---|---|---|---|
controlplane | 192.168.56.10 | 2 | 2048 |
node01 | 192.168.56.11 | 1 | 1024 |