The Kind cluster is only for development/testing purpose.
- Docker installed (Version: v19.03.12+)
- kind installed (Version: v0.8.1+).
- kubectl installed (Version: v1.19+)
Use the following command to create the kind configuration used for creating a kind cluster with multiple worker nodes:
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
- role: worker
- role: worker
- role: worker
Execute command:
kind create cluster --name myk8s --config kind.yaml
Check cluster info by
kubectl cluster-info
Output:
Kubernetes master is running at https://127.0.0.1:39821
KubeDNS is running at https://127.0.0.1:39821/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.