-
Notifications
You must be signed in to change notification settings - Fork 3
/
config-full.yaml
287 lines (279 loc) · 8.69 KB
/
config-full.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
cluster:
domain: outbound.vz.bos2.lab
name: cluster6
apiVIPs:
- 192.168.58.60
#- 2600:52:7:58::60
ingressVIPs:
- 192.168.58.67
#- 2600:52:7:58::67
ntps:
- 0.rhel.pool.ntp.org
- 1.rhel.pool.ntp.org
#https://docs.openshift.com/container-platform/4.12/installing/cluster-capabilities.html#insights-operator_cluster-capabilities
capabilities:
baselineCapabilitySet: None
additionalEnabledCapabilities:
- baremetal
- marketplace
- Console
- Storage
- CSISnapshot
hosts:
common:
ipv4:
enabled: true
dhcp: false
machine_network_cidr: 192.168.58.0/25
machine_network_prefix: 25
#cluster_network_cidr:
#cluster_network_host_prefix:
#service_network:
dns: 192.168.58.15
gateway: 192.168.58.1
ipv6:
enabled: false
dhcp: false
machine_network_cidr: 2600:52:7:58::/64
machine_network_prefix: 64
#cluster_network_cidr:
#cluster_network_host_prefix:
#service_network:
dns: 2600:52:7:58::15
gateway: 2600:52:7:58::1
bond:
mode: 802.3ad
miimon: 100
vlan:
enabled: false
name: ens1f0.58
id: 58
disk: /dev/vda
bmc:
bypass_proxy: true
masters:
- hostname: master1.cluster6.outbound.vz.bos2.lab
interface: ens1f0
mac: de:ad:be:ff:10:61
ipv4:
ip: 192.168.58.61
bmc:
address: 192.168.58.15:8080
password: Administrator:dummy
node_uuid: 22222222-1111-1111-0000-111100000061
- hostname: master2.cluster6.outbound.vz.bos2.lab
interface: ens1f0
mac: de:ad:be:ff:10:62
ipv4:
ip: 192.168.58.62
bmc:
address: 192.168.58.15:8080
password: Administrator:dummy
node_uuid: 22222222-1111-1111-0000-111100000062
- hostname: master3.cluster6.outbound.vz.bos2.lab
interface: ens1f0
mac: de:ad:be:ff:10:63
ipv4:
ip: 192.168.58.63
bmc:
address: 192.168.58.15:8080
password: Administrator:dummy
node_uuid: 22222222-1111-1111-0000-111100000063
workers:
- hostname: worker1.cluster6.outbound.vz.bos2.lab
roles:
- infra
labels:
# marked for providing disk for ODF deployment
- cluster.ocs.openshift.io/openshift-storage=
interface: ens1f0
mac: de:ad:be:ff:10:64
ipv4:
ip: 192.168.58.64
bmc:
address: 192.168.58.15:8080
password: Administrator:dummy
node_uuid: 22222222-1111-1111-0000-111100000064
- hostname: worker2.cluster6.outbound.vz.bos2.lab
roles:
- infra
labels:
# marked for providing disk for ODF deployment
- cluster.ocs.openshift.io/openshift-storage=
interface: ens1f0
mac: de:ad:be:ff:10:65
ipv4:
ip: 192.168.58.65
bmc:
address: 192.168.58.15:8080
password: Administrator:dummy
node_uuid: 22222222-1111-1111-0000-111100000065
- hostname: worker3.cluster6.outbound.vz.bos2.lab
roles:
- infra
labels:
# marked for providing disk for ODF deployment
- cluster.ocs.openshift.io/openshift-storage=
interface: ens1f0
mac: de:ad:be:ff:10:66
ipv4:
ip: 192.168.58.66
bmc:
address: 192.168.58.15:8080
password: Administrator:dummy
node_uuid: 22222222-1111-1111-0000-111100000066
proxy:
enabled: false
http:
https:
noproxy:
day1:
crun: false
operators:
ptp:
enabled: false
source: cs-redhat-operator-index
# if channel not present, will use 'stable'
#channel:
#version: ptp-operator.4.12.0-202402081808
sriov:
enabled: true
source: cs-redhat-operator-index
# if channel not present, will use 'stable'
#channel:
# if version not present, will use latest version
#version:
local-storage:
enabled: true
source: cs-redhat-operator-index
# if channel not present, will use 'stable'
#channel:
# if version not present, will use latest version
#version:
lvm:
enabled: false
source: cs-redhat-operator-index
# if channel not present, will use default one in the catalog
#channel:
# if version not present, will use latest version
#version:
odf:
enabled: true
source: cs-redhat-operator-index
# if channel not present, will use 'stable-OCP-Y'
#channel:
# if version not present, will use latest version
#version:
rhacm:
enabled: false
source: cs-redhat-operator-index
# if channel not present, will use default one in the catalog
#channel:
# if version not present, will use latest version
#version:
mce:
enabled: false
source: cs-redhat-operator-index
# if channel not present, will use 'stable'
#channel:
# if version not present, will use latest version
#version:
gitops:
enabled: false
source: cs-redhat-operator-index
# if channel not present, will use default one in the catalog
#channel:
# if version not present, will use latest version
#version:
talm:
enabled: false
source: cs-redhat-operator-index
# if version not present, will use latest version
#version:
nmstate:
enabled: true
source: cs-redhat-operator-index
# if version not present, will use latest version
#version:
metallb:
enabled: true
source: cs-redhat-operator-index
# if version not present, will use latest version
#version:
cluster-logging:
enabled: false
source: cs-redhat-operator-index
# if version not present, will use latest version
#version:
kubevirt-hyperconverged:
enabled: false
#channel: stable
#set the version
#version: v4.16.3
day2:
node_labels_enabled: true
disable_operator_auto_upgrade: true
masters_schedulable: false
mcp:
- name: "worker-hp"
role: "worker-hp"
performance_profile:
enabled: true
name: performance-profile-worker-hp
#manifest can be yaml or j2 template file, find from extra-manifests/day2/performance-profiles/ if a relative path provided
manifest: performance-profile.yaml.j2
#following are free format, used to build the performance-profile based on the j2 template
cpu:
isolated: "2-13,16-27,30-41,44-55"
reserved: "0,28,1,29,14,42,15,43"
hugepages:
default: 2M
pages:
- size: 2M
count: 32768
#node: 1
numa:
policy: "single-numa-node"
- name: worker
role: worker
performance-profile:
enabled: true
name: performance-profile-worker
#manifest can be yaml or j2 template file, find from extra-manifests/day2/performance-profiles/ if a relative path provided
manifest: performance-profile-worker.yaml
#tuned_profiles:
#- tuned-worker.yaml
#- tuned-others.yaml
operators:
#op:
#Supported 'op' can be found from operators/operators.yaml. For example: local-storage or nmstate
#Put additional crs desired to be applied towards the operator in folder extra-manifests/day2/$op/, can support yaml or j2 file;
#The yaml files together with the rendered files based on j2 templates will be executed with a respected order by file name.
#Put bash scripts desired to be executed in folder extra-manifests/day2/$op/, can support *.sh
#Other free-format data to define variables, used to build the extra-manifests based on the template provided in extra-manifests/day2/$op/
#following is an example for metallb operator, #to add more examples.
metallb:
selector:
role: "worker"
#set it in a disconnected env
additional_trust_bundle: /root/registry/ca-bundle.crt
#set it in a disconnected env, mirror/mirror-operators.sh can be used to generate the file
container_registry:
image_source: extra-manifests/mirror/OCP_Y_RELEASE/local-mirror.yaml
prega: false
catalog_sources:
defaults: []
customs:
- name: cs-redhat-operator-index
display: Red Hat Operator Local Mirror
image: registry.srvc.lan:8443/ocp-mirror-OCP_Y_RELEASE/redhat/redhat/redhat-operator-index:vOCP_Y_RELEASE
publisher: Redhat Inc
- name: cs-certified-operator-index
display: Certified Operators Local Mirror
image: registry.srvc.lan:8443/ocp-mirror-OCP_Y_RELEASE/redhat/redhat/certified-operator-index:vOCP_Y_RELEASE
publisher: Redhat Inc
icsp:
- extra-manifests/mirror/OCP_Y_RELEASE/imageConentSourcePolicy-operator-0.yaml
iso:
address: http://192.168.58.15/iso/compact.iso
deploy: ${HOME}/bin/deploy_boot_iso.sh