Deploying a local cluster using Kind
Deploying a local Kubernetes cluster can be extremely helpful for learning, testing, and preparing deployments for a production environment as Kubernetes is the same, wherever you run it. Let’s start by deploying a single-node local cluster using Kind.
Installing kind
Kind is a tool that allows you to run Kubernetes on your local machine inside Docker containers. Besides being light and easy to set up, Kind delivers performance with the same Kubernetes standards. Kind clusters pass upstream Kubernetes conformance testing.
Kind is distributed as a single binary file. You can install it easily with package managers (make sure you have Docker already installed):
- If you’re using macOS, use Homebrew to install
kind
, like so:brew install kind
- If you’re using a Linux distribution (Ubuntu, for instance), you can install it with
curl
:$ [ $(uname -m) = x86_64 ] && curl -Lo ./kind https://kind.sigs.k8s.io/dl...