-
Notifications
You must be signed in to change notification settings - Fork 52
/
inventory-example.yaml
338 lines (338 loc) · 9.74 KB
/
inventory-example.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
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
---
all:
vars:
base_domain: alice.lab.uc2.io
cleanup_known_hosts: True
cluster_name: alice
dhcp_server_dns_servers: 172.16.10.2
dhcp_server_gateway: 172.16.10.254
dhcp_server_subnet: 172.16.10.0
dhcp_server_subnet_mask: 255.255.255.0
installation_directory: /home/chris/upi/alice
ova_local_path: /tmp/rhcos-vmware.x86_64.ova
ova_remote_path: https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/latest/latest/rhcos-vmware.x86_64.ova
ova_remote_sha256: https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/latest/latest/sha256sum.txt
ova_vm_name: rhcos-vmware.x86_64-alice
provision_group: pg
sealed_secrets_keypair_name: sealed-secrets-custom-key
sealed_secrets_namespace: sealed-secrets
use_static_ip: True
vcenter_datastore: pool-spinning-vms
# 15 (ESXi 6.7U2 and greater)
vcenter_hardware_version: 15
vcenter_network: Lab Network
children:
helper:
hosts:
lb.alice.lab.uc2.io:
ip: 172.16.10.172
httpd_port: 8080
pg:
hosts:
bootstrap:
interface: ens192
ip: 172.16.10.131
gateway: 172.16.10.254
mask: 255.255.255.0
dns: 172.16.10.2
memory: 24576
cores: 4
datastore: r420-esxi-1-nvme
disks:
- size_gb: 100
type: thin
state: present
scsi_controller: 0
unit_number: 0
datastore: r420-esxi-1-nvme
master0:
interface: ens192
etcd_name: etcd-0
ip: 172.16.10.132
gateway: 172.16.10.254
mask: 255.255.255.0
dns: 172.16.10.2
memory: 24576
mem_reservation: 24576
# r420-esxi-1 has 2.2 GHz/Core
# 2.2 GHz * 1000 MHz/GHz * 4 vCPU
cpu_reservation: 8800
cores: 4
datastore: r420-esxi-1-nvme
latencySensitivity: High
disks:
- size_gb: 100
type: thin
state: present
scsi_controller: 0
unit_number: 0
datastore: r420-esxi-1-nvme
master1:
interface: ens192
etcd_name: etcd-1
ip: 172.16.10.133
gateway: 172.16.10.254
mask: 255.255.255.0
dns: 172.16.10.2
memory: 24576
mem_reservation: 24576
# r420-esxi-2 has 2.0 GHz/Core
# 2.0 GHz * 1000 MHz/GHz * 4 vCPU
cpu_reservation: 8000
cores: 4
datastore: r420-esxi-2-nvme
latencySensitivity: High
disks:
- size_gb: 100
type: thin
state: present
scsi_controller: 0
unit_number: 0
datastore: r420-esxi-2-nvme
master2:
interface: ens192
etcd_name: etcd-2
ip: 172.16.10.134
gateway: 172.16.10.254
mask: 255.255.255.0
dns: 172.16.10.2
memory: 24576
mem_reservation: 24576
# r710-esxi-1 has 3.06 GHz/Core
# 3.06 GHz * 1000 MHz/GHz * 4 vCPU
cpu_reservation: 12240
cores: 4
datastore: r710-esxi-1-nvme
latencySensitivity: High
disks:
- size_gb: 100
type: thin
state: present
scsi_controller: 0
unit_number: 0
datastore: r710-esxi-1-nvme
worker0:
interface: ens192
ip: 172.16.10.135
gateway: 172.16.10.254
mask: 255.255.255.0
dns: 172.16.10.2
memory: 24576
cores: 4
datastore: r420-esxi-1-nvme
disks:
- size_gb: 100
type: thin
state: present
scsi_controller: 0
unit_number: 0
datastore: r420-esxi-1-nvme
worker1:
interface: ens192
ip: 172.16.10.136
gateway: 172.16.10.254
mask: 255.255.255.0
dns: 172.16.10.2
memory: 24576
cores: 4
datastore: r420-esxi-2-nvme
disks:
- size_gb: 100
type: thin
state: present
scsi_controller: 0
unit_number: 0
datastore: r420-esxi-2-nvme
worker2:
interface: ens192
ip: 172.16.10.137
gateway: 172.16.10.254
mask: 255.255.255.0
dns: 172.16.10.2
memory: 24576
cores: 4
datastore: r710-esxi-1-nvme
disks:
- size_gb: 100
type: thin
state: present
scsi_controller: 0
unit_number: 0
datastore: r710-esxi-1-nvme
ocs-node0:
interface: ens192
ip: 172.16.10.138
gateway: 172.16.10.254
mask: 255.255.255.0
dns: 172.16.10.2
memory: 24576
cores: 10
datastore: r420-esxi-1-nvme
hypervisor: r420-esxi-1.pwc.umbrella.local
disks:
- size_gb: 100
type: thin
state: present
scsi_controller: 0
unit_number: 0
datastore: r420-esxi-1-nvme
- size_gb: 1024
type: thin
datastore: pool-spinning-vms
scsi_controller: 0
unit_number: 1
ocs-node1:
interface: ens192
ip: 172.16.10.139
gateway: 172.16.10.254
mask: 255.255.255.0
dns: 172.16.10.2
memory: 24576
cores: 10
datastore: r420-esxi-2-nvme
hypervisor: r420-esxi-2.pwc.umbrella.local
disks:
- size_gb: 100
type: thin
state: present
scsi_controller: 0
unit_number: 0
datastore: r420-esxi-2-nvme
- size_gb: 1024
type: thin
datastore: pool-spinning-vms
scsi_controller: 0
unit_number: 1
ocs-node2:
interface: ens192
ip: 172.16.10.140
gateway: 172.16.10.254
mask: 255.255.255.0
dns: 172.16.10.2
memory: 24576
cores: 10
datastore: r710-esxi-1-nvme
hypervisor: r710-esxi-1.pwc.umbrella.local
disks:
- size_gb: 100
type: thin
state: present
scsi_controller: 0
unit_number: 0
datastore: r710-esxi-1-nvme
- size_gb: 1024
type: thin
datastore: pool-spinning-vms
scsi_controller: 0
unit_number: 1
infra-node0:
interface: ens192
ip: 172.16.10.141
gateway: 172.16.10.254
mask: 255.255.255.0
dns: 172.16.10.2
memory: 24576
cores: 6
datastore: r420-esxi-1-nvme
disks:
- size_gb: 100
type: thin
state: present
scsi_controller: 0
unit_number: 0
datastore: r420-esxi-1-nvme
infra-node1:
interface: ens192
ip: 172.16.10.142
gateway: 172.16.10.254
mask: 255.255.255.0
dns: 172.16.10.2
memory: 24576
cores: 6
datastore: r420-esxi-2-nvme
disks:
- size_gb: 100
type: thin
state: present
scsi_controller: 0
unit_number: 0
datastore: r420-esxi-2-nvme
infra-node2:
interface: ens192
ip: 172.16.10.143
gateway: 172.16.10.254
mask: 255.255.255.0
dns: 172.16.10.2
memory: 24576
cores: 6
datastore: r710-esxi-1-nvme
disks:
- size_gb: 100
type: thin
state: present
scsi_controller: 0
unit_number: 0
datastore: r710-esxi-1-nvme
cnv-node0:
interface: ens192
ip: 172.16.10.144
gateway: 172.16.10.254
mask: 255.255.255.0
dns: 172.16.10.2
memory: 20480
cores: 4
datastore: r420-esxi-1-nvme
latencySensitivity: High
# 2.2 GHz * 1000 MHz/GHz * 4 vCPU
cpu_reservation: 8800
mem_reservation: 20480
nested_virt: True
disks:
- size_gb: 100
type: thin
state: present
scsi_controller: 0
unit_number: 0
datastore: r420-esxi-1-nvme
cnv-node1:
interface: ens192
ip: 172.16.10.145
gateway: 172.16.10.254
mask: 255.255.255.0
dns: 172.16.10.2
memory: 20480
cores: 4
datastore: r420-esxi-2-nvme
latencySensitivity: High
# 2.0 GHz * 1000 MHz/GHz * 4 vCPU
cpu_reservation: 8000
mem_reservation: 20480
nested_virt: True
disks:
- size_gb: 100
type: thin
state: present
scsi_controller: 0
unit_number: 0
datastore: r420-esxi-2-nvme
cnv-node2:
interface: ens192
ip: 172.16.10.146
gateway: 172.16.10.254
mask: 255.255.255.0
dns: 172.16.10.2
memory: 20480
cores: 4
datastore: r710-esxi-1-nvme
latencySensitivity: High
# 3.06 GHz * 1000 MHz/GHz * 4 vCPU
cpu_reservation: 12240
mem_reservation: 20480
nested_virt: True
disks:
- size_gb: 100
type: thin
state: present
scsi_controller: 0
unit_number: 0
datastore: r710-esxi-1-nvme