Kind config (#1587)
A simple Kind cluster config for local development of Fission
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user