Skip to content

Instantly share code, notes, and snippets.

@igordcard
Forked from mjhea0/install-kind.md
Last active November 6, 2025 17:24
Show Gist options
  • Select an option

  • Save igordcard/7caa56e7dd8e8d22ff71a5086f5f2e8a to your computer and use it in GitHub Desktop.

Select an option

Save igordcard/7caa56e7dd8e8d22ff71a5086f5f2e8a to your computer and use it in GitHub Desktop.

Install KinD

Instructions for installing KinD (Kubernetes in Docker) on macOS (tested on Tahoe 26.0.1).

Go

Start by installing Go, if you don't already have it.

The quickest way to install Go is with Homebrew:

$ brew update
$ brew install go

Once installed, create a workspace, configure the GOPATH and add the workspace's bin folder to your system path (and update your home rc or profile file accordingly):

$ mkdir $HOME/go
$ export GOPATH=$HOME/go
$ export PATH=$PATH:$GOPATH/bin

Docker

Install Docker if you don't have it already.

kubectl

https://kubernetes.io/docs/reference/kubectl/overview/

Install with brew:

$ brew install kubernetes-cli

kind

Install via Go:

go install sigs.k8s.io/kind@latest

Create a cluster and switch the context of kubectl:

$ kind create cluster --name mycluster
$ kubectl config set-context kind-mycluster
$ kubectl cluster-info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment