diff --git a/kind.yaml b/kind.yaml new file mode 100644 index 00000000..628fbdb2 --- /dev/null +++ b/kind.yaml @@ -0,0 +1,29 @@ +####################################################################################### +# Kind Config for running a local cluster (More about Kind:https://kind.sigs.k8s.io/) +# Creates a three node cluster for local development and testing +# +####################################################################################### + +kind: Cluster +apiVersion: kind.x-k8s.io/v1alpha4 +nodes: +- role: control-plane + image: kindest/node:v1.16.4 + kubeadmConfigPatches: + - | + kind: InitConfiguration + nodeRegistration: + kubeletExtraArgs: + node-labels: "ingress-ready=true" + authorization-mode: "AlwaysAllow" + extraPortMappings: + - containerPort: 80 + hostPort: 80 + protocol: TCP + - containerPort: 443 + hostPort: 443 + protocol: TCP +- role: worker + image: kindest/node:v1.16.4 +- role: worker + image: kindest/node:v1.16.4 \ No newline at end of file