DevOpsLesson
DevOpsLesson

Free, comprehensive DevOps tutorials and learning roadmaps. Master Docker, Kubernetes, CI/CD, and more.

Stay Updated

Get notified about new tutorials and features.

Tutorials

  • What is DevOps?
  • Docker Tutorial
  • Terraform Tutorial
  • CI/CD Pipeline
  • All Tutorials

Roadmaps

  • DevOps Engineer
  • Cloud Engineer
  • SRE Path
  • All Roadmaps

Company

  • About Us
  • Blog
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 DevOpsLesson. All rights reserved.

DOCKERKUBERNETESTERRAFORMAWSCI/CDLINUXGITDEVOPS ROADMAPCLOUD ROADMAPSRE ROADMAPGIT CHEATSHEETDOCKER CHEATSHEETK8S CHEATSHEETTF CHEATSHEETLINUX CHEATSHEETDOCKERFILE LINTERYAML VALIDATORCRON PARSERREGEX TESTER

Kubernetes Tutorial

Introduction to Kubernetes
Kubernetes Architecture
Installing Kubernetes
kubectl Basics
Kubernetes Pods
Kubernetes Deployments
Kubernetes Services
ConfigMaps and Secrets
Kubernetes Storage
Kubernetes Namespaces
Kubernetes Resource Management
Helm for Kubernetes
Kubernetes Monitoring

Installing Kubernetes with kind

PreviousPrev
Next

Use kind to spin up single-node and multi-node Kubernetes clusters inside Docker for fast testing and learning.

What Is kind?

kind stands for Kubernetes IN Docker. It runs Kubernetes nodes as Docker containers, which makes it fast and very convenient for local testing and CI pipelines.

Think of kind as a portable lab kit. Instead of booting full virtual machines, it builds a cluster from Docker containers.

Install kind

macOS

brew install kind

Linux

curl -Lo ./kind https://kind.sigs.k8s.io/dl/latest/kind-linux-amd64
chmod +x ./kind
sudo mv ./kind /usr/local/bin/kind

Windows

choco install kind

Create a Single-Node Cluster

kind create cluster --name demo

Create a Multi-Node Cluster

Save a config file such as kind-multi-node.yaml.

kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
name: demo-multi
nodes:
  - role: control-plane
  - role: worker
  - role: worker

Then create the cluster:

kind create cluster --config kind-multi-node.yaml

A More Detailed kind Config

kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
networking:
  apiServerAddress: 127.0.0.1
  apiServerPort: 6443
nodes:
  - role: control-plane
    extraPortMappings:
      - containerPort: 30080
        hostPort: 8080
        protocol: TCP
  - role: worker
  - role: worker

This config gives you a control-plane node, two workers, and a port mapping that is useful for demos.

Load a Local Image into kind

If you build a Docker image locally, kind will not automatically see it inside the cluster.

docker build -t demo-app:1.0 .
kind load docker-image demo-app:1.0 --name demo

That is very helpful when testing images without pushing them to a remote registry.

Delete a Cluster

kind delete cluster --name demo

Why Teams Like kind

  • Fast startup and teardown
  • Easy to use in CI pipelines
  • Great for multi-node experiments
  • Close enough to real Kubernetes for manifest validation and workflow practice

When kind Is Better Than Minikube

kind is often the better choice when you care about speed, automation, and repeatable test environments. Minikube is often more beginner-friendly when you want extras like the dashboard and a simpler guided experience.

Exercise

kind Meaning

What does kind stand for?

Exercise

Local Images

Why might you run `kind load docker-image demo-app:1.0 --name demo`?

PreviousPrev
Next

Continue Learning

Kubernetes Architecture

Understand the control plane, worker nodes, and the end-to-end request flow that turns a kubectl command into a running pod.

20 min·Easy

Installing Kubernetes

Compare local and managed Kubernetes options so you can choose the right environment for learning, testing, or production.

18 min·Easy

Installing Kubernetes with Minikube

Set up Minikube on macOS, Linux, or Windows and learn the core commands for starting, inspecting, and stopping your local cluster.

20 min·Easy

Explore Related Topics

Do

Docker Tutorials

Build the containers Kubernetes orchestrates

Te

Terraform Tutorials

Provision Kubernetes clusters as code

Try the Tool

YAML Validator

Validate Kubernetes manifests and any YAML files instantly.

On This Page

What Is kind?Install kindmacOSLinuxWindowsCreate a Single-Node ClusterCreate a Multi-Node ClusterA More Detailed kind ConfigLoad a Local Image into kindDelete a ClusterWhy Teams Like kindWhen kind Is Better Than Minikube