-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathall.yml.sample
More file actions
257 lines (224 loc) · 10.1 KB
/
all.yml.sample
File metadata and controls
257 lines (224 loc) · 10.1 KB
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
---
# Values accepted: 'latest-4.5', 'latest-4.6', explicit version i.e. 4.3.0-0.nightly-2019-12-09-035405 (must be defined)
version: 4.6.1
# Enter whether the build should use 'dev' (nightly builds) or 'ga' for Generally Available version of OpenShift (must be defined)
build: ga
# Set to true to install nightly Operators and it is effective only for dev-preview builds,
# if set make sure to provide brew registry password and Index Image Build IDs
nightly_operator: false
# Required only for nightly operator installtion
brew_reg_password: ""
# Required only for nightly operator installtion
iib_id:
sriov: 25944 #openshift-sriov-network-operator
# List of operators to install and namespaces they are installed in
operators:
- name: performance-add-on-operator
namespace: openshift-performance-addon
- name: sriov-network-operator
namespace: openshift-sriov-network-operator
- name: openshift-virtualization-operator
namespace: openshift-cnv
- name: cluster-logging-operator
namespace: openshift-logging
- name: kafka-operator
namespace: amq
- name: elasticsearch-operator
namespace: openshift-operators-redhat
- name: local-storage-operator
namespace: openshift-local-storage
################################################################################
# BigIP playbook vars
################################################################################
bigip_password: "password" # Update this password variable
bigip_worker:
- worker002-fc640
- worker003-fc640
bigip_sriov_int: "ens2f1" # Preferrably baremetal network interface
bigip_bridge_int: "ens2f1" # Preferrably baremetal network interface"
################################################################################
# Trident playbook vars
################################################################################
ontap_password: "password" # Update this password variable
################################################################################
# RHACM/MCE install playbook vars
################################################################################
# All file locations should be on orchestration host and clusters must be accessible
# by orchestration host
rhacm_version: 2.1
rhacm_install_directory: /root
rhacm_disableHubSelfManagement: true
hub_cluster_kubeconfig: /root/bm/kubeconfig
managed_cluster_name: shiftstack0000
managed_cluster_vendor: OpenShift
managed_cluster_kubeconfig: "/home/stack/ocp_clusters/{{managed_cluster_name}}/auth/kubeconfig"
# When installing RHACM or MCE in a connected environment this pull secret must be populated
# RHACM 2.5 includes MCE, and MCE can be installed separately from RHACM
# If installing RHACM, only populate rhacm_build, likewise if only installing MCE, only populate mce_build
rhacm_quay_pullsecret: ''
# Example: rhacm_build: '2.8.0-DOWNSTREAM-2023-04-25-22-18-13'
rhacm_build:
# Example: mce_build: '2.1.0-DOWNANDBACK-2022-07-05-06-55-15'
mce_build:
rhacm_icsp_enable_tag_mirror: false
# Leave blank if not doing disconnected
rhacm_disconnected_registry:
rhacm_disconnected_registry_port: 5000
# RHACM search settings
setup_rhacm_search_pv: false
# RHACM observability settings
setup_rhacm_observability: false
# MCE Assisted-installer items
mce_assisted_ocp_version: quay.io/openshift-release-dev/ocp-release:4.10.24-x86_64
mce_assisted_service_namespace: multicluster-engine
mce_clusterimagesets:
- name: openshift-4.10.24
releaseImage: quay.io/openshift-release-dev/ocp-release:4.10.24-x86_64
# Deploy Topology Aware Lifecycle Operator
setup_talm_operator: false
# redhat-operator-index = disconnected setup, redhat-operators = connected setup
talm_operator_source: redhat-operator-index
# Follow vars are used instead of setting up the talm operator from the operator catalog
setup_talm: true
talm_repo: https://github.com/openshift-kni/cluster-group-upgrades-operator.git
talm_repo_branch: release-4.13
talm_image: quay.io/openshift-kni/cluster-group-upgrades-operator:4.13.0
talm_precache_image: "{{ rhacm_disconnected_registry }}:{{ rhacm_disconnected_registry_port }}/openshift-kni/cluster-group-upgrades-operator-precache:4.13.0"
talm_recovery_image: "{{ rhacm_disconnected_registry }}:{{ rhacm_disconnected_registry_port }}/openshift-kni/cluster-group-upgrades-operator-recovery:4.13.0"
# Apply ZTP argocd patches and create the argocd applications
setup_rhacm_ztp_patches: true
setup_ztp_cluster_applications: true
setup_ztp_policy_application: true
gitops_redis_mem_patch: true
gitops_redis_mem_requests: 256Mi
gitops_redis_mem_limits: 4Gi
# ZTP DU Profile Performance Profile Settings
setup_ztp_enable_performanceprofile: false
setup_ztp_perfprofile_isolated_cpus: "4-7"
setup_ztp_perfprofile_reserved_cpus: "0-3"
setup_ztp_perfprofile_hugepage_count: 1
setup_ztp_perfprofile_realtime: true
setup_ztp_searchcollector_enabled: false
################################################################################
# RHACM Shiftstack prepare cluster deployment vars
################################################################################
rhacm_clusterdeploy_index_start: 0
rhacm_clusterdeploy_index_count: 1
# Always lower case for clusterdeploy prefix
rhacm_clusterdeploy_prefix: sno
rhacm_clusterdeploy_base_domain: rdu2.scalelab.redhat.com
rhacm_clusterdeploy_network_type: OVNKubernetes
rhacm_clusterdeploy_create_ingress: false
rhacm_clusterdeploy_custom_network: true
rhacm_clusterdeploy_worker_flavor: sno-6-24-40
rhacm_clusterdeploy_cis: sno-4.6.6-5
rhacm_clusterdeploy_image_url: "https://releases-art-rhcos.svc.ci.openshift.org/art/storage/releases/rhcos-4.6/46.82.202011260640-0/x86_64/rhcos-46.82.202011260640-0-openstack.x86_64.qcow2.gz"
rhacm_clusterdeploy_image_name: sno-rhcos
rhacm_clusterdeploy_install_limit: 1
shiftstack_clusterdeploy_public_net_name: public
rhacm_clusterdeploy_hub_cluster_kubeconfig: /home/stack/ocp_clusters/vlan608/auth/kubeconfig
rhacm_clusterdeploy_hub_cluster_name: vlan608
rhacm_clusterdeploy_hub_base_domain: rdu2.scalelab.redhat.com
################################################################################
# Label Node vars:
################################################################################
# List of nodes and its labels to be added
# label_node_values:
# - label: 'localstorage: "true"'
# nodes:
# - storagenode-0
# - storagenode-1
label_node_values: []
################################################################################
# Local-storage vars:
################################################################################
# volumes to be created on the nodes based on the nodeselector keyvalue
# local_storage_instances:
# - key: kafka
# value: "true"
# storageclassname: kafka-local-brokers
# volumes:
# - /dev/nvme0n1
local_storage_instances: []
################################################################################
# Prepare Shiftstack for Local-storage vars:
################################################################################
shiftstack_cluster: vlan608
shiftstack_local_storage_node_selector: localstorage=true
shiftstack_local_storage_device: /dev/nvme0n1
shiftstack_thin_volume_count: 6
shiftstack_thin_volume_size: 140g
################################################################################
# Create Kind VMs vars
################################################################################
kind_vm_index_start: 0
kind_vm_index_count: 1
kind_vm_prefix: kind2
kind_vm_image: centos8
kind_vm_flavor: kind-8-32-60
kind_vm_keypair_name: kind_private_key
kind_vm_security_group: kind_security_group
kind_vm_network: kind_network
################################################################################
# kind cluster cs_configuration
################################################################################
kind_max_count: 9 # 10 max instance
kind_step_count: 1
k3d_max_count: 20 # 22 max instance
k3d_step_count: 1
################################################################################
# EC2 settings
################################################################################
ec2_key_name:
ec2_instance_type: m4.2xlarge
ec2_image: ami-066df92ac6f03efca
ec2_security_group: launch-wizard-1
ec2_vpc_subnet_id: subnet-817895db
ec2_region: us-west-1
ec2_volume_size: 100
ec2_instance_count: 55
ec2_tags:
Name: scale
propose: performance
################################################################################
# Configure OpenShift Monitoring playbook vars
################################################################################
openshift_prometheus_retention_period: 15d
openshift_prometheus_node_selector: "prom: true"
openshift_prometheus_storage_class: "" # A valid storage class
openshift_prometheus_storage_size: 50Gi
################################################################################
# Kafka playbook vars
################################################################################
kafka_storage: "ephemeral" # can be either persistent or ephemeral
kafka_instances:
key: kafka
value: "true"
kafka_node_label: 'kafka: "true"'
################################################################################
# CNF profile
################################################################################
# PTP interface (precision time protocol)
# This is the interface used for ptp4l, in an OpenShift cluster this typically is the baremetal interface
# but can be any interface that points towards a switch with a ptp grand master clock
ptp_interface: "eno1"
# Hugepages
hugepage_size: "1G"
hugepage_count: "16"
hugepage_node: "0"
# NUMA
# temp workaround for RT kernel bugs that consume too much CPU power: add more isolated cores
isolated: "1,3,5,7,9-51"
reserved: "0,2,4,6,8"
realtime_kernel: "true"
# MachineConfigPool that gets to run more pods
max_pod_mcp: "worker"
max_pods: 500
# NodeSelector and MachineConfigPoolSelector for the PerformanceProfile using realtime kernel
# and Hugepages
perf_mcp_selector: "pools.operator.machineconfiguration.openshift.io/master: "
perf_node_selector: "node-role.kubernetes.io/master: "
################################################################################
# SCTP setup
################################################################################
sctp_enable: false