vagrant_k3 is a project that sets up a Kubernetes cluster using Vagrant and VirtualBox. It automates the creation and configuration of virtual machines to form a multi-node Kubernetes cluster for development and testing purposes.
- Vagrant (>= 2.2.10)
- VirtualBox (>= 6.1)
- Git
- Clone the repository
- Navigate to the
p1directory:cd p1 - Start the Vagrant environment:
vagrant up
- Follow any additional instructions provided in the
p1/scripts/virtual_install.shscript.
- Navigate to the
p2directory:cd p2 - Start the Vagrant environment:
vagrant up
- Follow any additional instructions provided in the
p2/scripts/patch_hosts.shscript.
- Navigate to the
p3directory:cd p3 - Run the install script to set up dependencies:
./scripts/install.sh
- Start the cluster:
./scripts/start.sh