- Need a quick kubernetes cluster to test some deployments or charts really quick?
- Don't have
minikube
orkind
, and want to have it in a VM so you can share your appliance?
This repo creates a Debian 12 VM with Vagrant using VirtualBox driver and installs k3s into it.
- vagrant must be installed
- virtualbox must be installed
Execute the run.sh
script
./run.sh
Then you will be able to run:
kubectl --kubeconfig outputs/vagrant-k3s.yaml get node -o wide
kubectl --kubeconfig outputs/vagrant-k3s.yaml get all -A
or
export KUBECONFIG="$(pwd)/outputs/vagrant-k3s.yaml"
kubectl config current-context
kubectl get node -o wide
kubectl get all -A