Kind config (#1587)

A simple Kind cluster config for local development of Fission
This commit is contained in:
Vishal
2020-04-30 16:30:38 +05:30
committed by GitHub
parent f606c3705f
commit 31ff3f0290
+29
View File
@@ -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