kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
- role: worker
extraPortMappings:
- hostPort: 31001
containerPort: 31001
- role: worker
3. Create the cluster using
kind create cluster --config kind-cluster.yaml
4. Confirm if the clusters have been created using