first upload
This commit is contained in:
29
kind-demo-cluster-config.yaml
Normal file
29
kind-demo-cluster-config.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
kind: Cluster
|
||||
apiVersion: kind.x-k8s.io/v1alpha4
|
||||
networking:
|
||||
disableDefaultCNI: true
|
||||
nodes:
|
||||
- role: control-plane
|
||||
kubeadmConfigPatches:
|
||||
- |
|
||||
kind: InitConfiguration
|
||||
nodeRegistration:
|
||||
kubeletExtraArgs:
|
||||
node-labels: "ingress-ready=true"
|
||||
- |
|
||||
kind: ClusterConfiguration
|
||||
apiServer:
|
||||
extraArgs:
|
||||
enable-admission-plugins: "PodSecurity"
|
||||
extraPortMappings:
|
||||
- containerPort: 30080
|
||||
hostPort: 80
|
||||
protocol: TCP
|
||||
- containerPort: 30443
|
||||
hostPort: 443
|
||||
protocol: TCP
|
||||
extraMounts:
|
||||
- hostPath: /home/msandor/Kind/volume # <- ezt javítsd a saját mappádra!
|
||||
containerPath: /volume
|
||||
- role: worker
|
||||
- role: worker
|
Reference in New Issue
Block a user