Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
riyasoni5990 authored Apr 19, 2023
1 parent 4e7f2d7 commit 2775221
Showing 1 changed file with 35 additions and 16 deletions.
51 changes: 35 additions & 16 deletions Kind/README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,42 @@
# Steps to setup Cluster using kind
# Multi-Node Kubernetes Cluster Setup with Kind
This repository contains the code and configuration files for setting up a multi-node Kubernetes cluster using Kind (Kubernetes in Docker).

## Step 1:- Install Docker Engine on Ubuntu
### [Click Here](https://docs.docker.com/engine/install/ubuntu/)
## Steps to Setup Cluster using Kind
Follow the below steps to setup a multi-node Kubernetes cluster using Kind:

## Step 2:- Install Kind
### [Click Here](https://kind.sigs.k8s.io/docs/user/quick-start/#installation)
### Step 1: Install Docker Engine on Ubuntu
Before installing Kind, Docker Engine needs to be installed on Ubuntu. Follow the instructions mentioned [here](https://docs.docker.com/engine/install/ubuntu/) to install Docker Engine.

## Step 3:- Install Kubectl
`snap install kubectl --classic`
### Step 2: Install Kind
Kind can be installed using the instructions mentioned [here](https://kind.sigs.k8s.io/docs/user/quick-start/#installation).

## Step 4:- Create Single Node Cluster
`kind create cluster`
### Step 3: Install Kubectl
Kubectl is the command-line tool for managing Kubernetes clusters. It can be installed using the following command:
```
snap install kubectl --classic
```

## Other Commands
### To check all clusters
`kind get clusters`
### Step 4:- Create Single Node Cluster
Create a Single Node Cluster by running the following command:
```
kind create cluster
```

### To delete a clusters
`kind delete cluster --name=<cluster-name>`
You can check all clusters using the following command:
```
kind get clusters
```

### Create cluster using config file
`kind create cluster --name=<cluster-name> --config=<file-name>`
To delete a cluster, run the following command:
```
kind delete cluster --name=<cluster-name>
```

### Bonus:
You can also create a cluster using a configuration file by running the following command:
```
kind create cluster --name=<cluster-name> --config=<file-name>
```

## Conclusion
By following these simple steps, you can easily setup a multi-node Kubernetes cluster using Kind. This is a great way to test your Kubernetes applications locally before deploying to production.

0 comments on commit 2775221

Please sign in to comment.