zuul-operator/tools/kind.yaml
James E. Blair 901ec92b9d Add instructions and tools for running tests with kind
This is the test setup I have used to run the functional tests
locally.  In particular, the restart.sh script is useful for
very quickly rebuilding the cluster from scratch while also
using the local docker image cache to populate the cluster with
cached images for speed.

Change-Id: I994de1cdd49b487d68083f6e01ba73bfc4274d05
2021-07-23 10:27:11 -07:00

15 lines
304 B
YAML

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: 9000
protocol: TCP