Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 

Repository files navigation

Kubernetes

Creating a cluster using KinD

Note: Docker should be installed

Install Kind on Linux -

  1. Use the curl command to download Kind.
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.14.0/kind-linux-amd64
  1. Change the binary's permissions to make it executable.
chmod +x ./kind
  1. Move kind to an application directory, such as /bin.
sudo mv ./kind /bin/kind

Using Kind to Create a Development Environment -

  1. To create a cluster with a different name, use the --name option.

    kind create cluster --name=[cluster-name]
    
  2. Confirm the cluster deployment with kubectl.

    kubectl get nodes
    

note: if returns, ""kubectl" command not found" then install kubectl using snap.

  snap install kubectl --classic
  1. Check the Created Cluster with get.

    kind get clusters
    
  2. To Delete the Cluster.

    kind delete cluster
    

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors