# three node (two workers) cluster config
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
  kubeadmConfigPatches:
  - |
    kind: InitConfiguration
    nodeRegistration:
      kubeletExtraArgs:
        node-labels: "ingress-ready=true"
  extraPortMappings:
    - containerPort: 80
      hostPort: 8844
      protocol: TCP
    - containerPort: 443
      hostPort: 8843
      protocol: TCP
#- role: worker
#- role: worker
#- role: worker
#- role: worker
