naveenrajm7 / K8s-utm

Kubernetes setup on Mac using Vagrant UTM

Repository from Github https://github.comnaveenrajm7/K8s-utmRepository from Github https://github.comnaveenrajm7/K8s-utm

Kubernetes on Mac using UTM

Vagrant setup for a 3 node Kubernetes cluster on Mac using UTM.

Adheres to official documentation : Creating a cluster with kubeadm

Prerequisites

How to use

  1. Clone repo
git clone https://github.com/naveenrajm7/K8s-utm.git
  1. Execute vagrant inside folder
cd K8s-utm
vagrant up
  1. 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

Credits

Based of naveenrajm7/k8s-setup, updated to work with Vagrant UTM and Kubernetes 1.32 on Debian 12.

About

Kubernetes setup on Mac using Vagrant UTM