Some Common Kind Commands

1. Creating A Cluster

  • Enter the following command to create a Kind Kubernetes Cluster (default name is “kind”):
kind create cluster
  • Enter the following command to create a Kind Kubernetes Cluster with a custom name:
kind create cluster --name=[NAME_OF_CLUSTER]
  • Enter the following command to create a cluster with a custom node image:
kind create cluster --image=[IMAGE]
  • Enter the following command to create a Kind Kubernetes Cluster using a custom configuration for the cluster:
kind create cluster --config=[FILE_NAME]
  • Enter the following command to create a Kind Kubernetes Cluster while assigning a waiting time for the control plane to go up:
kind create cluster --wait [TIME]

2. Loading An Image Into Your Cluster

  • Docker images can be loaded into your cluster nodes using the following command:
kind load docker-image [DOCKER_IMAGE_NAME]
  • Image archives can be loaded using the following command:
kind load image-archive /my-image-archive.tar

3. Get The List Of Clusters

  • To check out the list of cluster you created using Kind, enter the following command:
 kind get clusters

4. Exporting Logs

  • In order to export logs of your Kind Cluster, enter the following command:
kind export logs

5. Deleting The Kind Cluster

  • You just have to simply enter the following command to delete the Kind cluster.
kind delete cluster
  • or if you have named your cluster, then enter the name using the –name flag.
kind delete cluster --name [NAME_OF_CLUSTER]

How To Use Kind To Deploy Kubernetes Clusters?

Kind also referred to as Kubernetes in Docker is a popular open-source tool used for running a Kubernetes cluster locally. Kind uses Docker containers as Cluster Nodes making it substantially faster than its alternatives like Minikube or Docker Desktop which uses a Virtual Machine. Kind is commonly used to test Kubernetes clusters on local machines. Kind is useful specifically when the user wants to create a multi-Node cluster since Minikube or Docker Desktop does not provide any such functionality. In this article we will learn about KinD and see how to use KinD for Deploying Kubernetes clusters.

Similar Reads

What Does Kind Do?

Kind also referred to as Kubernetes in Docker is a popular open-source tool used for running a Kubernetes cluster locally. Kind uses Docker containers as Cluster Nodes making it substantially faster than its alternatives like Minikube or Docker Desktop which uses a Virtual Machine. Kind is commonly used to test Kubernetes clusters on local machines. Kind is useful specifically when the user wants to create a multi-Node cluster since Minikube or Docker Desktop does not provide any such functionality. It can also be useful when the user wants to test his or her application when one Node goes down or when the application is shut down on one Node and restarts on another. Kind consists of the following packages and tools:...

Features Of Kind

Kind has five important features as a tool for running Kubernetes locally:...

Deploying An Application On Kind Kubernetes Cluster: A Step-By-Step Guide

Step 1: Installation Of Kind...

Some Common Kind Commands

1. Creating A Cluster...

Conclusion

In this article we learned about KinD and how to use it to deploy Kubernetes clusters. KinD also referred as Kubernetes in Docker is a popular open-source tool used for running a Kubernetes clusters locally. Kind uses Docker containers as Cluster Nodes making it substantially faster than it’s alternatives like Minikube or Docker Desktop which uses a Virtual Machine. Kind is commonly used to test Kubernetes clusters on local machines. We hope that this article taught you about what Kind is, how it works and how to deploy an application using Kind. Make sure to follow other articles on GeeksforGeeks to know about more tools in DevOps....

Kubernetes Kind – FAQ’s

What Are The Prerequisites Before Learning Kind?...

Contact Us