-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkind-cluster-template.yaml
More file actions
46 lines (46 loc) · 1.13 KB
/
kind-cluster-template.yaml
File metadata and controls
46 lines (46 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
networking:
apiServerAddress: "0.0.0.0"
apiServerPort: 500
nodes:
- role: control-plane
- role: control-plane
- role: worker
extraPortMappings:
- containerPort: 30809
hostPort: 510
listenAddress: "0.0.0.0"
- role: worker
extraPortMappings:
- containerPort: 30809
hostPort: 511
listenAddress: "0.0.0.0"
- role: worker
extraPortMappings:
- containerPort: 30809
hostPort: 512
listenAddress: "0.0.0.0"
- role: worker
extraPortMappings:
- containerPort: 30809
hostPort: 513
listenAddress: "0.0.0.0"
- role: worker
extraPortMappings:
- containerPort: 30809
hostPort: 514
listenAddress: "0.0.0.0"
containerdConfigPatches:
# forward to port 5000 on the "local-registry" container from localhost on port 5000
- |-
[plugins."io.containerd.grpc.v1.cri".registry.mirrors."localhost:5000"]
endpoint = ["http://registry-container-ipaddr:5000"]
kubeadmConfigPatchesJSON6902:
- group: kubeadm.k8s.io
version: v1beta2
kind: ClusterConfiguration
patch: |
- op: add
path: /apiServer/certSANs/-
value: docker