Vagrant setup for a 3 node Kubernetes cluster on Mac using UTM.
Adheres to official documentation : Creating a cluster with kubeadm
- Clone repo
git clone https://github.com/naveenrajm7/K8s-utm.git
- Execute vagrant inside folder
cd K8s-utm
vagrant up
- Access master and use Kubernetes
# Accessing master
$ vagrant ssh k8s-master
...
vagrant@k8s-master:~$ kubectl get nodes
NAME STATUS ROLES AGE VERSION
k8s-master Ready control-plane 8m33s v1.32.1
node-1 Ready <none> 5m56s v1.32.1
node-2 Ready <none> 3m3s v1.32.1
Based of naveenrajm7/k8s-setup, updated to work with Vagrant UTM and Kubernetes 1.32 on Debian 12.