Skip to content

Bootstrap a local 2 nodes cluster using Vagrant in order to practice k8s installation procedure

License

Notifications You must be signed in to change notification settings

DominikD83/k8s-raw-vcluster

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

k8s-raw-vcluster Vagrant Cluster

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.

Prerequisites

Please go ahead and install these two components from their official website.

Provision the Kubernetes cluster

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

Work with the cluster

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.

Delete cluster

vagrant destroy -f

Environment technical details

Nodes

Name IP address CPU Memory(Mi)
controlplane 192.168.56.10 2 2048
node01 192.168.56.11 1 1024

About

Bootstrap a local 2 nodes cluster using Vagrant in order to practice k8s installation procedure

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 56.4%
  • Vim Script 43.6%