generated from onedr0p/cluster-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.config.sample.env
348 lines (319 loc) · 12 KB
/
.config.sample.env
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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
export BOOTSTRAP_DISCORD_WEBHOOK_URL=""
export BOOTSTRAP_MARIADB_ROOT_PASSWORD=""
#
# Cluster terraform related variables.
#
# This section is optional. This is only for spinning up VM's for K3S on proxmox using terraform.
#
# PVE-1
#
# IP and port of proxmox machine
# e.g. 10.1.1.1:8006
export BOOTSTRAP_PVE1_PROXMOX_IP=""
# URL for the proxmox api
# e.g. https://${BOOTSTRAP_PVE1__PVE1_PROXMOX_IP}/api2/json
export BOOTSTRAP_PVE1_PROXMOX_URL=""
# The token for terraform to use.
# e.g. terraform@pam!terraform
export BOOTSTRAP_PVE1_PROXMOX_API_TOKEN_ID=""
# The corrisponding token secret
export BOOTSTRAP_PVE1_PROXMOX_API_TOKEN_SECRET=""
# The path the public SSH key for the vm's
# e.g. ${HOME}/.ssh/id_ed25519.pub
export BOOTSTRAP_PVE1_SSH_PUB_KEY_FILE=""
# The name of the template in proxmox to clone for the vm's
# e.g. ubuntu-cloud
export BOOTSTRAP_PVE1_CLONE_TEMPLATE_NAME=""
# The name of the user for the vm's.
export BOOTSTRAP_PVE1_PROXMOX_VM_USER=""
# The password for the user of the vm's
export BOOTSTRAP_PVE1_PROXMOX_VM_password=""
# The name of the proxmox node.
# e.g. pve
export BOOTSTRAP_PVE1_PROXMOX_NODE=""
# The proxmox API token id for the provisioning user.
# e.g. terraform@pam!terraform_token
export BOOTSTRAP_PVE1_PROXMOX_API_TOKEN_ID=""
# The corrisponding token secret
export BOOTSTRAP_PVE1_PROXMOX_API_TOKEN_SECRET=""
# Master nodes pve-1
# Number of master nodes to spin up.
# NOTE: Any number over 9 will break everything.
export BOOTSTRAP_PVE1_MASTER_COUNT=""
# Prefix for the node name
# e.g. k3s- would give you k3s-1, k3s-2, k3s-3, ect...
# NOTE: NODE and MASTER should be different
export BOOTSTRAP_PVE1_MASTER_NAME_PREFIX=""
# Prefix for the node vmid
# e.g. 20 would give you 201, 202, 203, ect...
# NOTE: NODE and MASTER should be different
export BOOTSTRAP_PVE1_MASTER_VMID_PREFIX=""
# The location for the vm storage on proxmox
# e.g. local
export BOOTSTRAP_PVE1_MASTER_STORAGE=""
# The ip address prefix.
# e.g. 10.1.1.2 would result in 10.1.1.21, 10.1.1.22, 10.1.1.23, ect...
# NOTE: NODE and MASTER should be different
export BOOTSTRAP_PVE1_MASTER_IP=""
# The subnet mask in CIDR format
# e.g. /24
export BOOTSTRAP_PVE1_MASTER_SUBNET_MASK=""
# The ip address for the gateway
export BOOTSTRAP_PVE1_MASTER_GATEWAY=""
# Worker nodes pve-1
# Number of worker nodes to spin up.
# NOTE: Any number over 9 will break everything.
export BOOTSTRAP_PVE1_NODE_COUNT=""
# Prefix for the node name
# e.g. k3s- would give you k3s-1, k3s-2, k3s-3, ect...
# NOTE: NODE and MASTER should be different
export BOOTSTRAP_PVE1_NODE_NAME_PREFIX=""
# Prefix for the node vmid
# e.g. 20 would give you 201, 202, 203, ect...
# NOTE: NODE and MASTER should be different
export BOOTSTRAP_PVE1_NODE_VMID_PREFIX=""
# The location for the vm storage on proxmox
# e.g. local
export BOOTSTRAP_PVE1_NODE_STORAGE=""
# The ip address prefix.
# e.g. 10.1.1.2 would result in 10.1.1.21, 10.1.1.22, 10.1.1.23, ect...
# NOTE: NODE and MASTER should be different
export BOOTSTRAP_PVE1_NODE_IP=""
# The subnet mask in CIDR format
# e.g. /24
export BOOTSTRAP_PVE1_NODE_SUBNET_MASK=""
# The ip address for the gateway
export BOOTSTRAP_PVE1_NODE_GATEWAY=""
#
# PVE-2
#
# IP and port of proxmox machine
# e.g. 10.1.1.1:8006
export BOOTSTRAP_PVE2_PROXMOX_IP=""
# URL for the proxmox api
# e.g. https://${BOOTSTRAP_PVE2_PVE1_PROXMOX_IP}/api2/json
export BOOTSTRAP_PVE2_PROXMOX_URL=""
# The token for terraform to use.
# e.g. terraform@pam!terraform
export BOOTSTRAP_PVE2_PROXMOX_API_TOKEN_ID=""
# The corrisponding token secret
export BOOTSTRAP_PVE2_PROXMOX_API_TOKEN_SECRET=""
# The path the public SSH key for the vm's
# e.g. ${HOME}/.ssh/id_ed25519.pub
export BOOTSTRAP_PVE2_SSH_PUB_KEY_FILE=""
# The name of the template in proxmox to clone for the vm's
# e.g. ubuntu-cloud
export BOOTSTRAP_PVE2_CLONE_TEMPLATE_NAME=""
# The name of the user for the vm's.
export BOOTSTRAP_PVE2_PROXMOX_VM_USER=""
# The password for the user of the vm's
export BOOTSTRAP_PVE2_PROXMOX_VM_password=""
# The name of the proxmox node.
# e.g. pve
export BOOTSTRAP_PVE2_PROXMOX_NODE=""
# The proxmox API token id for the provisioning user.
# e.g. terraform@pam!terraform_token
# Master nodes pve-2
# Number of master nodes to spin up.
# NOTE: Any number over 9 will break everything.
export BOOTSTRAP_PVE2_MASTER_COUNT=""
# Prefix for the node name
# e.g. k3s- would give you k3s-1, k3s-2, k3s-3, ect...
# NOTE: NODE and MASTER should be different
export BOOTSTRAP_PVE2_MASTER_NAME_PREFIX=""
# Prefix for the node vmid
# e.g. 20 would give you 201, 202, 203, ect...
# NOTE: NODE and MASTER should be different
export BOOTSTRAP_PVE2_MASTER_VMID_PREFIX=""
# The location for the vm storage on proxmox
# e.g. local
export BOOTSTRAP_PVE2_MASTER_STORAGE=""
# The ip address prefix.
# e.g. 10.1.1.2 would result in 10.1.1.21, 10.1.1.22, 10.1.1.23, ect...
# NOTE: NODE and MASTER should be different
export BOOTSTRAP_PVE2_MASTER_IP=""
# The subnet mask in CIDR format
# e.g. /24
export BOOTSTRAP_PVE2_MASTER_SUBNET_MASK=""
# The ip address for the gateway
export BOOTSTRAP_PVE2_MASTER_GATEWAY=""
# Worker nodes pve-2
# Number of worker nodes to spin up.
# NOTE: Any number over 9 will break everything.
export BOOTSTRAP_PVE2_NODE_COUNT=""
# Prefix for the node name
# e.g. k3s- would give you k3s-1, k3s-2, k3s-3, ect...
# NOTE: NODE and MASTER should be different
export BOOTSTRAP_PVE2_NODE_NAME_PREFIX=""
# Prefix for the node vmid
# e.g. 20 would give you 201, 202, 203, ect...
# NOTE: NODE and MASTER should be different
export BOOTSTRAP_PVE2_NODE_VMID_PREFIX=""
# The location for the vm storage on proxmox
# e.g. local
export BOOTSTRAP_PVE2_NODE_STORAGE=""
# The ip address prefix.
# e.g. 10.1.1.2 would result in 10.1.1.21, 10.1.1.22, 10.1.1.23, ect...
# NOTE: NODE and MASTER should be different
export BOOTSTRAP_PVE2_NODE_IP=""
# The subnet mask in CIDR format
# e.g. /24
export BOOTSTRAP_PVE2_NODE_SUBNET_MASK=""
# The ip address for the gateway
export BOOTSTRAP_PVE2_NODE_GATEWAY=""
#
# Cluster related variables
#
export BOOTSTRAP_LETSENCRYPT_ISSUER=""
# The repo you created from this template
# e.g. https://github.com/k8s-at-home/home-cluster
export BOOTSTRAP_GIT_REPOSITORY=""
# Optional: Enable GitHub to send a webhook to update Flux, set the following to one of:
# ignored - this feature will be disabled
# generated - this will generate a token and print it in the logs
# Set this to any other string and it will be used for the secret
export BOOTSTRAP_FLUX_GITHUB_WEBHOOK_SECRET=""
# Address for nfs server
export BOOTSTRAP_NFS_ADDR=""
# Choose one of your cloudflare domains
# e.g. k8s-at-home.com
export BOOTSTRAP_CLOUDFLARE_DOMAIN=""
# The email you use to sign into Cloudflare with
export BOOTSTRAP_CLOUDFLARE_EMAIL=""
# Your global Cloudflare API Key
export BOOTSTRAP_CLOUDFLARE_APIKEY=""
# Pick a range of unused IPs that are on the same network as your nodes
# You don't need many IPs, just choose 10 IPs to start with
# e.g. 10.0.3.220-10.0.3.230
export BOOTSTRAP_METALLB_LB_RANGE=""
# The load balancer IP for k8s_gateway, choose from one of the available IPs above
# e.g. 10.0.3.220
export BOOTSTRAP_METALLB_K8S_GATEWAY_ADDR=""
# The load balancer IP for traefik, choose from one of the available IPs above
# that doesn't conflict with any other IP addresses here
# e.g. 10.0.3.221
export BOOTSTRAP_METALLB_TRAEFIK_ADDR=""
# Age Public Key - string should start with age
# e.g. age15uzrw396e67z9wdzsxzdk7ka0g2gr3l460e0slaea563zll3hdfqwqxdta
export BOOTSTRAP_AGE_PUBLIC_KEY=""
# The network interface on the host kube-vip should attach to
# Look this up on your nodes to verify what NIC to use
# This name should be the same across your nodes, see:
# https://github.com/k8s-at-home/template-cluster-k3s/issues/310
# e.g. eno1
export BOOTSTRAP_KUBE_VIP_INTERFACE=""
# The IP Address to use with KubeVIP
# Pick a unused IP that is on the same network as your nodes
# and outside the ${BOOTSTRAP_METALLB_LB_RANGE} range
# and doesn't conflict with any other IP addresses here
# e.g. 10.0.3.254
export BOOTSTRAP_KUBE_VIP_ADDR=""
#
# Ansible related variables
#
#
# Default prefixes for hostnames assigned by Ansible
# These are unused on nodes where BOOTSTRAP_ANSIBLE_HOSTNAME_ is provided
#
export BOOTSTRAP_ANSIBLE_DEFAULT_CONTROL_NODE_HOSTNAME_PREFIX=""
export BOOTSTRAP_ANSIBLE_DEFAULT_NODE_HOSTNAME_PREFIX=""
#
# Ansible hosts - repeat this block as many times as you need,
# incrementing the last digit on the variable name for each node
#
# Host IP Address to the control plane node
# That doesn't conflict with any other IP addresses here
# e.g. 10.1.1.200
export BOOTSTRAP_ANSIBLE_HOST_ADDR_0=""
# User Ansible will log into the nodes
export BOOTSTRAP_ANSIBLE_SSH_USERNAME_0=""
# Password Ansible will use to escalate to sudo
export BOOTSTRAP_ANSIBLE_SUDO_PASSWORD_0=""
# Set this node as a control node (true/false)
export BOOTSTRAP_ANSIBLE_CONTROL_NODE_0=""
# Optional: Set the hostname of the node, if set this will override the *_HOSTNAME_PREFIX vars above
export BOOTSTRAP_ANSIBLE_HOSTNAME_0=""
export BOOTSTRAP_ANSIBLE_HOST_ADDR_1=""
export BOOTSTRAP_ANSIBLE_SSH_USERNAME_1=""
export BOOTSTRAP_ANSIBLE_SUDO_PASSWORD_1=""
export BOOTSTRAP_ANSIBLE_CONTROL_NODE_1=""
export BOOTSTRAP_ANSIBLE_HOSTNAME_1=""
export BOOTSTRAP_ANSIBLE_HOST_ADDR_2=""
export BOOTSTRAP_ANSIBLE_SSH_USERNAME_2=""
export BOOTSTRAP_ANSIBLE_SUDO_PASSWORD_2=""
export BOOTSTRAP_ANSIBLE_CONTROL_NODE_2=""
export BOOTSTRAP_ANSIBLE_HOSTNAME_2=""
export BOOTSTRAP_ANSIBLE_HOST_ADDR_3=""
export BOOTSTRAP_ANSIBLE_SSH_USERNAME_3=""
export BOOTSTRAP_ANSIBLE_SUDO_PASSWORD_3=""
export BOOTSTRAP_ANSIBLE_CONTROL_NODE_3=""
export BOOTSTRAP_ANSIBLE_HOSTNAME_3=""
export BOOTSTRAP_ANSIBLE_HOST_ADDR_4=""
export BOOTSTRAP_ANSIBLE_SSH_USERNAME_4=""
export BOOTSTRAP_ANSIBLE_SUDO_PASSWORD_4=""
export BOOTSTRAP_ANSIBLE_CONTROL_NODE_4=""
export BOOTSTRAP_ANSIBLE_HOSTNAME_4=""
export BOOTSTRAP_ANSIBLE_HOST_ADDR_5=""
export BOOTSTRAP_ANSIBLE_SSH_USERNAME_5=""
export BOOTSTRAP_ANSIBLE_SUDO_PASSWORD_5=""
export BOOTSTRAP_ANSIBLE_CONTROL_NODE_5=""
export BOOTSTRAP_ANSIBLE_HOSTNAME_5=""
#export BOOTSTRAP_ANSIBLE_HOST_ADDR_6=""
#export BOOTSTRAP_ANSIBLE_SSH_USERNAME_6=""
#export BOOTSTRAP_ANSIBLE_SUDO_PASSWORD_6=""
#export BOOTSTRAP_ANSIBLE_CONTROL_NODE_6=""
#export BOOTSTRAP_ANSIBLE_HOSTNAME_6=""
#
#export BOOTSTRAP_ANSIBLE_HOST_ADDR_7=""
#export BOOTSTRAP_ANSIBLE_SSH_USERNAME_7=""
#export BOOTSTRAP_ANSIBLE_SUDO_PASSWORD_7=""
#export BOOTSTRAP_ANSIBLE_CONTROL_NODE_7=""
#export BOOTSTRAP_ANSIBLE_HOSTNAME_7=""
#
#export BOOTSTRAP_ANSIBLE_HOST_ADDR_8=""
#export BOOTSTRAP_ANSIBLE_SSH_USERNAME_8=""
#export BOOTSTRAP_ANSIBLE_SUDO_PASSWORD_8=""
#export BOOTSTRAP_ANSIBLE_CONTROL_NODE_8=""
#export BOOTSTRAP_ANSIBLE_HOSTNAME_8=""
#
#export BOOTSTRAP_ANSIBLE_HOST_ADDR_9=""
#export BOOTSTRAP_ANSIBLE_SSH_USERNAME_9=""
#export BOOTSTRAP_ANSIBLE_SUDO_PASSWORD_9=""
#export BOOTSTRAP_ANSIBLE_CONTROL_NODE_9=""
#export BOOTSTRAP_ANSIBLE_HOSTNAME_9=""
#
#export BOOTSTRAP_ANSIBLE_HOST_ADDR_10=""
#export BOOTSTRAP_ANSIBLE_SSH_USERNAME_10=""
#export BOOTSTRAP_ANSIBLE_SUDO_PASSWORD_10=""
#export BOOTSTRAP_ANSIBLE_CONTROL_NODE_10=""
#export BOOTSTRAP_ANSIBLE_HOSTNAME_10=""
#
#export BOOTSTRAP_ANSIBLE_HOST_ADDR_11=""
#export BOOTSTRAP_ANSIBLE_SSH_USERNAME_11=""
#export BOOTSTRAP_ANSIBLE_SUDO_PASSWORD_11=""
#export BOOTSTRAP_ANSIBLE_CONTROL_NODE_11=""
#export BOOTSTRAP_ANSIBLE_HOSTNAME_11=""
#
#export BOOTSTRAP_ANSIBLE_HOST_ADDR_12=""
#export BOOTSTRAP_ANSIBLE_SSH_USERNAME_12=""
#export BOOTSTRAP_ANSIBLE_SUDO_PASSWORD_12=""
#export BOOTSTRAP_ANSIBLE_CONTROL_NODE_12=""
#export BOOTSTRAP_ANSIBLE_HOSTNAME_12=""
#
#export BOOTSTRAP_ANSIBLE_HOST_ADDR_13=""
#export BOOTSTRAP_ANSIBLE_SSH_USERNAME_13=""
#export BOOTSTRAP_ANSIBLE_SUDO_PASSWORD_13=""
#export BOOTSTRAP_ANSIBLE_CONTROL_NODE_13=""
#export BOOTSTRAP_ANSIBLE_HOSTNAME_13=""
#
#export BOOTSTRAP_ANSIBLE_HOST_ADDR_14=""
#export BOOTSTRAP_ANSIBLE_SSH_USERNAME_14=""
#export BOOTSTRAP_ANSIBLE_SUDO_PASSWORD_14=""
#export BOOTSTRAP_ANSIBLE_CONTROL_NODE_14=""
#export BOOTSTRAP_ANSIBLE_HOSTNAME_14=""
#
#export BOOTSTRAP_ANSIBLE_HOST_ADDR_15=""
#export BOOTSTRAP_ANSIBLE_SSH_USERNAME_15=""
#export BOOTSTRAP_ANSIBLE_SUDO_PASSWORD_15=""
#export BOOTSTRAP_ANSIBLE_CONTROL_NODE_15=""
#export BOOTSTRAP_ANSIBLE_HOSTNAME_15=""