Introduction: Encapsulates the client-go resource invocation method of k8s.
vi kind-config.yaml
-------------------
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
- role: worker
- role: worker
kind create cluster --config cluster.yaml --image kindest/node:v1.19.11