249 lines
5.6 KiB
YAML
249 lines
5.6 KiB
YAML
kind: Cluster
|
|
apiVersion: kind.x-k8s.io/v1alpha4
|
|
name: cluster1
|
|
nodes:
|
|
- role: control-plane
|
|
extraMounts:
|
|
- hostPath: /etc/containerd/certs.d/
|
|
containerPath: /etc/containerd/certs.d
|
|
readOnly: true
|
|
extraPortMappings:
|
|
- containerPort: 80
|
|
hostPort: 80
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 443
|
|
hostPort: 443
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30000
|
|
hostPort: 30000
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30001
|
|
hostPort: 30001
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30002
|
|
hostPort: 30002
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30003
|
|
hostPort: 30003
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30004
|
|
hostPort: 30004
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30005
|
|
hostPort: 30005
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30006
|
|
hostPort: 30006
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30007
|
|
hostPort: 30007
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30008
|
|
hostPort: 30008
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30009
|
|
hostPort: 30009
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30010
|
|
hostPort: 30010
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30011
|
|
hostPort: 30011
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30012
|
|
hostPort: 30012
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30013
|
|
hostPort: 30013
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30014
|
|
hostPort: 30014
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30015
|
|
hostPort: 30015
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30016
|
|
hostPort: 30016
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30017
|
|
hostPort: 30017
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30018
|
|
hostPort: 30018
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30019
|
|
hostPort: 30019
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30020
|
|
hostPort: 30020
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30021
|
|
hostPort: 30021
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30022
|
|
hostPort: 30022
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30023
|
|
hostPort: 30023
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30024
|
|
hostPort: 30024
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30025
|
|
hostPort: 30025
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30026
|
|
hostPort: 30026
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30027
|
|
hostPort: 30027
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30028
|
|
hostPort: 30028
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30029
|
|
hostPort: 30029
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30030
|
|
hostPort: 30030
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30031
|
|
hostPort: 30031
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30032
|
|
hostPort: 30032
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30033
|
|
hostPort: 30033
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30034
|
|
hostPort: 30034
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30035
|
|
hostPort: 30035
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30036
|
|
hostPort: 30036
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30037
|
|
hostPort: 30037
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30038
|
|
hostPort: 30038
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30039
|
|
hostPort: 30039
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30040
|
|
hostPort: 30040
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30041
|
|
hostPort: 30041
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30042
|
|
hostPort: 30042
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30043
|
|
hostPort: 30043
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30044
|
|
hostPort: 30044
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30045
|
|
hostPort: 30045
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30046
|
|
hostPort: 30046
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30047
|
|
hostPort: 30047
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30048
|
|
hostPort: 30048
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30049
|
|
hostPort: 30049
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- containerPort: 30050
|
|
hostPort: 30050
|
|
protocol: TCP
|
|
listenAddress: 0.0.0.0
|
|
- role: worker
|
|
extraMounts:
|
|
- hostPath: /etc/containerd/certs.d/
|
|
containerPath: /etc/containerd/certs.d
|
|
readOnly: true
|
|
- role: worker
|
|
extraMounts:
|
|
- hostPath: /etc/containerd/certs.d/
|
|
containerPath: /etc/containerd/certs.d
|
|
readOnly: true
|
|
- role: worker
|
|
extraMounts:
|
|
- hostPath: /etc/containerd/certs.d/
|
|
containerPath: /etc/containerd/certs.d
|
|
readOnly: true
|
|
containerdConfigPatches:
|
|
- |-
|
|
[plugins."io.containerd.grpc.v1.cri".registry]
|
|
config_path = "/etc/containerd/certs.d"
|
|
- |-
|
|
[plugins."io.containerd.grpc.v1.cri"]
|
|
sandbox_image = "registry.aliyuncs.com/google_containers/pause:3.10"
|
|
kubeadmConfigPatches:
|
|
- |
|
|
kind: KubeletConfiguration
|
|
serverTLSBootstrap: true
|