From 31ff3f0290ded2a443c213354fd570f5daf1d410 Mon Sep 17 00:00:00 2001 From: Vishal Date: Thu, 30 Apr 2020 16:30:38 +0530 Subject: [PATCH] Kind config (#1587) A simple Kind cluster config for local development of Fission --- kind.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 kind.yaml 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