36 lines
748 B
YAML
36 lines
748 B
YAML
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: volume
|
|
containerPath: /volume
|
|
- role: worker
|
|
extraMounts:
|
|
- hostPath: volume
|
|
containerPath: /volume
|
|
- role: worker
|
|
extraMounts:
|
|
- hostPath: volume
|
|
containerPath: /volume
|