-
Notifications
You must be signed in to change notification settings - Fork 6
/
config-full.yaml
305 lines (290 loc) · 8.46 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
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
cluster:
domain: outbound.vz.bos2.lab
name: sno148
ntps:
- 0.rhel.pool.ntp.org
- 1.rhel.pool.ntp.org
#optional: https://docs.openshift.com/container-platform/4.14/post_installation_configuration/enabling-cluster-capabilities.html
#if not present:
#for 4.12 it will set:
#baselineCapabilitySet: None
# additionalEnabledCapabilities:
# - marketplace
# for 4.13+, it will set:
#baselineCapabilitySet: None
# additionalEnabledCapabilities:
# - marketplace
# - NodeTuning
capabilities:
#None|vCurrent|v4.12|v4.14 ...
baselineCapabilitySet: None
additionalEnabledCapabilities:
- marketplace
host:
hostname: sno148.outbound.vz.bos2.lab
interface: ens1f0
mac: b4:96:91:b4:9d:f0
ipv4:
enabled: true
dhcp: false
ip: 192.168.58.48
dns:
- 192.168.58.15
gateway: 192.168.58.1
prefix: 25
machine_network_cidr: 192.168.58.0/25
#optional, default 10.128.0.0/14
#cluster_network_cidr: 10.128.0.0/14
#optional, default 23
#cluster_network_host_prefix: 23
ipv6:
enabled: false
dhcp: false
ip: 2600:52:7:58::48
dns:
- 2600:52:7:58::15
gateway: 2600:52:7:58::1
prefix: 64
machine_network_cidr: 2600:52:7:58::/64
#optional, default fd01::/48
#cluster_network_cidr: fd01::/48
#optional, default 64
#cluster_network_host_prefix: 64
vlan:
enabled: false
name: ens1f0.58
id: 58
disk: /dev/nvme0n1
day1:
workload_partition: true
kdump:
enabled: true
#set blacklist_ice as true on HPE servers
blacklist_ice: false
boot_accelerate: true
#4.13+ only, whether enable crun as default container runtime
crun: true
#4.14, https://issues.redhat.com/browse/OCPBUGS-17660
rcu_normal: true
#4.14, reduce a node boot and fix a race condition issue in sriov operator
sriov_kernel: true
#4.14, sync the node time from ntp when node reboot and ptp got involved
sync_time_once: true
#whether enable cgroup v1; 4.14-4.15: will enable cgv1 by default, 4.16+ will enable cgv2 by default
cgv1: true
# partitions for container storage
container_storage:
enabled: false
device: /dev/nvme0n1
startMiB: 250000
sizeMiB: 0
#ztp_hub=true will enable rhacm/lvm/gitops/talm on the cluster
ztp_hub: false
operators:
ptp:
enabled: true
#if you want to stay on a particular version ptp-operator.4.12.0-202402081808
#version: ptp-operator.4.12.0-202402081808
sriov:
enabled: true
#if you want to stay on a particular version sriov-network-operator.v4.12.0-202402081808
#version: sriov-network-operator.v4.12.0-202402081808
local-storage:
enabled: true
#if you want to stay on a particular version local-storage-operator.v4.12.0-202403082008
#version: local-storage-operator.v4.12.0-202403082008
#preparation work for local storage
provision:
#Get the ID with command: udevadm info -q property --property=ID_PATH /dev/nvme1n1
disk_by_path: pci-0000:c3:00.0-nvme-1
lvs:
1g: 10
2g: 10
4g: 5
5g: 5
10g: 2
15g: 1
30g: 1
gitops:
enabled: false
rhacm:
enabled: false
talm:
enabled: false
mce:
enabled: false
mcgh:
enabled: false
lvm:
enabled: false
fec:
enabled: false
#if you want to stay on a particular version sriov-fec.v2.7.2
#version: sriov-fec.v2.7.2
cluster-logging:
enabled: false
#set the channel
#channel: stable
#if you want to stay on a particular version
#version: cluster-logging.v5.8.3
adp:
enabled: false
#set the channel
#channel: stable-1.3
#set the version
#version: 1.3.1
lca:
enabled: false
#set the channel
#channel: stable
#set the version
#version: v4.16.0-89
metallb:
enabled: false
nmstate:
enabled: false
kubevirt-hyperconverged:
enabled: false
#channel: stable
#set the version
#version: v4.16.3
extra_manifests:
- ${HOME}/1
- ${HOME}/2
- $OCP_Y_VERSION
day2:
# pause the MCP for a certain period and unpause it in order to reduce the number of node reboot.
delay_mcp_update: 60
performance_profile:
enabled: true
#in case you want to specify the performance profile name
name: sno-perfprofile
#optional, default value: true
real_time: false
#optional, present if want to set user_level_networking as true
net:
user_level_networking: true
#optional for hardware tuning, OCP 4.16
hardwareTuning:
isolatedCpuFreq: 2500000
reservedCpuFreq: 2800000
#optional
hugepage:
default: 2M
pages:
- size: 2M
count: 32768
#node: 1
tuned_profile:
enabled: true
#for wrong bios settings, if passive mode is used, set intel_pstate=active
cmdline_pstate: intel_pstate=active
#in case you want to generate kdump for some special scenarios (used in lab)
kdump: false
sysfs:
#cap the intel_pstate peak frequency at 2.5Ghz, used in 4.14. 4.16 can set day2.performance_profile.hardwareTuning
cpufreq_max_freq: 2500000
ptp:
#ptpconfig type: choose any of them: disabled|ordinary|boundary
#chronyd service will be disabled if ordinary or boundary being selected
ptpconfig: disabled
clock_threshold_tuning:
hold_over_timeout: 5
max_offset: 500
min_offset: -500
ordinary_clock:
#name: crdu-ptp-ordinary-clock
interface: ens1f0
boundary_clock:
# only supported for 4.16+, when not enabled, the profiles[0] is used for system clock, 4.15 or earlier versions must set it as false
ha_enabled: false
#name (default): crdu-boundary-clock-ptp-config
#name: crdu-boundary-clock-ptp-config
profiles:
- name: bc-profile-nic1
slave: ens1f0
masters:
- ens1f1
- ens1f2
- ens1f3
- name: bc-profile-nic2
slave: ens2f0
masters:
- ens2f1
- ens2f2
- ens2f3
#enable the ptp event, if true, will set summary_interval as -4, otherwise it will stay at 0
enable_ptp_event: true
#enable log_reduce, when setting as true it will reduce(filter all) the ptp logs
log_reduce: true
#enable the cluster monitoring tuning
cluster_monitor_tuning: true
#disable the network diagnostics
disable_network_diagnostics: true
#4.14 disable the olm pprof(collect-profile cronjob)
disable_olm_pprof: true
disable_operator_auto_upgrade: true
#https://github.com/openshift-kni/cnf-features-deploy/blob/master/ztp/source-crs/SriovOperatorConfig-SetSelector.yaml
sriov:
enable_injector: false
enable_webhook: false
lvm:
device_classes:
- name: "sno"
thin_pool_name: "sno-sdb-pool"
selector:
paths:
- "/dev/sdb"
#LocalVolume settings for local storage operator,
#if not present, and if day1.operators.local-storage.provision.lvs is present, will use default name 'local-disks'
# and storageClassName 'general'
local_storage:
local_volume:
name: local-disks
storageClassName: general
extra_manifests:
- ${HOME}/1
- ${HOME}/2
- $OCP_Y_VERSION
cpu:
isolated: 2-31,34-63
reserved: 0-1,32-33
proxy:
enabled: false
http:
https:
noproxy:
pull_secret: /root/pull-secret.json
ssh_key: /root/.ssh/id_rsa.pub
#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: /root/registry/local-mirror.yaml
catalog_sources:
defaults:
#- redhat-marketplace
#- community-operators
- certified-operators
- redhat-operators
customs:
- name: prega
display: Red Hat Operators 4.16 PreGA
image: quay.io/prega/redhat-operator-index:v4.16
publisher: Red Hat
icsp:
- /root/sno-4.14/templates/day1/icsp/prega-OCP_Y_RELEASE.yaml
bmc:
address: 192.168.13.148
username: Administrator
password: dummy
kvm_uuid:
iso:
address: http://192.168.58.15/iso/sno148.iso
#optional, when mounting the virtual media, some hardware or redfish version may not support TransferProtocolType
#in the API request, in that case set it as 'skip'
#protocol: skip
# deploy script will be called before mounting the ISO
# arg1: generated ISO
# arg2: .iso.address
deploy: ${HOME}/bin/deploy_boot_iso.sh