-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkind-config.yaml
193 lines (192 loc) · 5.16 KB
/
kind-config.yaml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
# This is an additional configuration to set the api server listen address and port
# It is useful when exposing the api server over the network
#networking:
# apiServerAddress: "0.0.0.0"
# apiServerPort: 6443
nodes:
- role: worker
extraMounts:
- containerPath: /var/lib/kubelet/config.json
hostPath: ${HOME}/.docker/config.json
readOnly: true
- role: worker
extraMounts:
- containerPath: /var/lib/kubelet/config.json
hostPath: ${HOME}/.docker/config.json
readOnly: true
- role: worker
extraMounts:
- containerPath: /var/lib/kubelet/config.json
hostPath: ${HOME}/.docker/config.json
readOnly: true
- role: control-plane
extraMounts:
- containerPath: /var/lib/kubelet/config.json
hostPath: ${HOME}/.docker/config.json
readOnly: true
kubeadmConfigPatches:
- |
kind: InitConfiguration
nodeRegistration:
kubeletExtraArgs:
node-labels: "ingress-ready=true"
# This is an additional configuration to set the api server certificate SANs
# It is useful when exposing the api server over the network
#- |
# kind: ClusterConfiguration
# apiServer:
# certSANs:
# - "api.yourdomain"
# - "0.0.0.0"
# - "localhost"
extraPortMappings:
# port t obe used by ingress-nginx to expose http and https
- containerPort: 80
hostPort: 80
protocol: TCP
- containerPort: 443
hostPort: 443
protocol: TCP
# Ports to be used by ingress-nginx to expose TCP protocols like mariadb
- containerPort: 33060
hostPort: 33060
protocol: TCP
- containerPort: 33061
hostPort: 33061
protocol: TCP
- containerPort: 33062
hostPort: 33062
protocol: TCP
- containerPort: 33063
hostPort: 33063
protocol: TCP
- containerPort: 33064
hostPort: 33064
protocol: TCP
- containerPort: 33065
hostPort: 33065
protocol: TCP
# Ports to be used by ingress-nginx to expose TCP protocols like artemis acceptors
- containerPort: 51510
hostPort: 51510
protocol: TCP
- containerPort: 51511
hostPort: 51511
protocol: TCP
- containerPort: 51512
hostPort: 51512
protocol: TCP
- containerPort: 51513
hostPort: 51513
protocol: TCP
- containerPort: 51514
hostPort: 51514
protocol: TCP
- containerPort: 51515
hostPort: 51515
protocol: TCP
- containerPort: 51516
hostPort: 51516
protocol: TCP
- containerPort: 51517
hostPort: 51517
protocol: TCP
- containerPort: 51518
hostPort: 51518
protocol: TCP
- containerPort: 51519
hostPort: 51519
protocol: TCP
- containerPort: 52520
hostPort: 52520
protocol: TCP
- containerPort: 52521
hostPort: 52521
protocol: TCP
- containerPort: 52522
hostPort: 52522
protocol: TCP
- containerPort: 52523
hostPort: 52523
protocol: TCP
- containerPort: 52524
hostPort: 52524
protocol: TCP
- containerPort: 52525
hostPort: 52525
protocol: TCP
- containerPort: 52526
hostPort: 52526
protocol: TCP
- containerPort: 52527
hostPort: 52527
protocol: TCP
- containerPort: 52528
hostPort: 52528
protocol: TCP
- containerPort: 52529
hostPort: 52529
protocol: TCP
# Ports to be used by ingress-nginx to expose TCP protocols like java remote debbuger
- containerPort: 5000
hostPort: 5000
protocol: TCP
- containerPort: 5001
hostPort: 5001
protocol: TCP
- containerPort: 5002
hostPort: 5002
protocol: TCP
- containerPort: 5003
hostPort: 5003
protocol: TCP
- containerPort: 5004
hostPort: 5004
protocol: TCP
- containerPort: 5005
hostPort: 5005
protocol: TCP
- containerPort: 5006
hostPort: 5006
protocol: TCP
- containerPort: 5007
hostPort: 5007
protocol: TCP
- containerPort: 5008
hostPort: 5008
protocol: TCP
- containerPort: 5009
hostPort: 5009
protocol: TCP
- containerPort: 5100
hostPort: 5100
protocol: TCP
- containerPort: 5101
hostPort: 5101
protocol: TCP
- containerPort: 5102
hostPort: 5102
protocol: TCP
- containerPort: 5103
hostPort: 5103
protocol: TCP
- containerPort: 5104
hostPort: 5104
protocol: TCP
- containerPort: 5105
hostPort: 5105
protocol: TCP
- containerPort: 5106
hostPort: 5106
protocol: TCP
- containerPort: 5107
hostPort: 5107
protocol: TCP
- containerPort: 5108
hostPort: 5108
protocol: TCP
- containerPort: 5109
hostPort: 5109
protocol: TCP