-
Notifications
You must be signed in to change notification settings - Fork 614
Expand file tree
/
Copy pathkind_cluster_setup.txt
More file actions
34 lines (22 loc) · 894 Bytes
/
kind_cluster_setup.txt
File metadata and controls
34 lines (22 loc) · 894 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
===========Kind installation steps============
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.25.0/kind-linux-amd64
chmod +x ./kind
sudo mv ./kind /usr/local/bin/kind
==========kubectl installation steps============
curl -LO "https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl"
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl
============configfile====================
# three node (two workers) cluster config
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
- role: worker
- role: worker
============create kind cluster============
kind create cluster --config configfile
If nodes are in NotReady state do below steps
sudo sysctl net/netfilter/nf_conntrack_max=131072
kind delete cluster
kind create cluster --config configfile