kind-cluster.yaml 400 B

12345678910111213141516
  1. # single node kind cluster mapping port 80 to an ingress controller
  2. # that is deployed separately
  3. kind: Cluster
  4. apiVersion: kind.x-k8s.io/v1alpha4
  5. nodes:
  6. - role: control-plane
  7. kubeadmConfigPatches:
  8. - |
  9. kind: InitConfiguration
  10. nodeRegistration:
  11. kubeletExtraArgs:
  12. node-labels: "ingress-ready=true"
  13. extraPortMappings:
  14. - containerPort: 80
  15. hostPort: 80
  16. protocol: TCP