Differences between K8s and K3s : 👉 K8s-and-K3s.md
- Install Vagrant – Follow the Vagrant Install Guide.
- Install VirtualBox – Download from VirtualBox.
- Vagrant Box – Use the bento/debian-12 Vagrant box.
-
Create Shared Directory:
mkdir -p ./Shared
-
Start Vagrant Cluster:
vagrant up
-
Copy K3s Kubeconfig File:
cat Shared/k3s.yaml >> ~/.kube/config
- Access the cluster using
kubectl
:kubectl get nodes
- The
Shared
folder is used to transfer files (e.g.,k3s.yaml
) between VMs.