-
Notifications
You must be signed in to change notification settings - Fork 4
/
schema.yaml
257 lines (253 loc) · 6.25 KB
/
schema.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
title: HPC BeeGFS BeeOND Filesystem input variables
description: Automated HPC BeeGFS BeeOND Filesystem deployment
schemaVersion: 1.0.0
version: "20200716"
locale: "en"
groupings:
- title: "General cluster values"
variables:
- ${ad}
- ${ssh_key}
- ${use_custom_name}
- ${cluster_name}
- title: "BeeGFS BeeOND Filesystem values"
variables:
- ${filesystem}
- ${use_beegfs_over_rdma}
- ${shape}
- ${node_count}
- ${boot_volume_size}
- ${use_marketplace_image}
- ${image}
- ${metadata_node_count}
- ${storage_node_count}
- ${io500}
- title: "Bastion options"
variables:
- ${bastion_ad}
- ${bastion_shape}
- ${use_standard_image}
- ${custom_bastion_image}
- title: "Network options"
variables:
- ${use_existing_vcn}
- ${vcn_id}
- ${bastion_subnet_id}
- ${cluster_subnet_id}
- ${vcn_subnet}
- ${private_subnet}
- ${public_subnet}
- ${ssh_cidr}
- title: "Pre-Defined"
variables:
- ${region}
- ${compartment_ocid}
- ${tenancy_ocid}
- ${user_ocid}
- ${fingerprint}
- ${bastion_image}
- ${private_key_path}
visible: false
variables:
ad:
type: oci:identity:availabilitydomain:name
dependsOn:
compartmentId: ${compartment_ocid}
visible: complexExpression
required: true
description: "Availability Domain where BM.HPC2.36 shape is available"
title: "Availability Domain"
bastion_ad:
type: oci:identity:availabilitydomain:name
dependsOn:
compartmentId: ${compartment_ocid}
visible: complexExpression
required: true
description: "Availability Domain for bastion host"
title: "Availability Domain"
use_custom_name:
type: boolean
title: "use custom cluster name"
description: "Use custom name for the cluster"
required: true
default: false
cluster_name:
title: "Name of the cluster"
description: "Custom cluster name"
type: string
visible:
and:
- ${use_custom_name}
use_standard_image:
type: boolean
title: "use standard bastion image"
description: "Use standard bastion image, otherwise provide custom image OCID"
required: true
default: true
custom_bastion_image:
title: "Bastion Image ID"
description: "Custom image ID for bastion nodes"
type: oci:core:image:id
dependsOn:
compartmentId: ${compartment_ocid}
visible:
not:
- ${use_standard_image}
use_marketplace_image:
type: boolean
title: "use marketplace image"
description: "Use marketplace image, otherwise provide custom image OCID"
required: true
default: true
image:
title: "Image ID"
description: "Custom image ID for compute nodes"
type: oci:core:image:id
dependsOn:
compartmentId: ${compartment_ocid}
visible:
not:
- ${use_marketplace_image}
use_existing_vcn:
type: boolean
title: "Use Existing VCN"
description: "Use existing VCN or create new one"
default: false
required: true
vcn_id:
type: oci:core:vcn:id
visible:
and:
- ${use_existing_vcn}
title: "Existing network"
default: ''
required: true
dependsOn:
compartmentId: ${compartment_ocid}
bastion_subnet_id:
type: oci:core:subnet:id
dependsOn:
vcnId: ${vcn_id}
compartmentId: ${compartment_ocid}
default: ''
required: true
title: "Exiting subnet for Bastion host"
visible:
and:
- ${use_existing_vcn}
cluster_subnet_id:
type: oci:core:subnet:id
dependsOn:
vcnId: ${vcn_id}
compartmentId: ${compartment_ocid}
default: ''
required: true
title: "Exiting subnet for Cluster network"
visible:
and:
- ${use_existing_vcn}
vcn_subnet:
type: string
title: "VCN IP range"
description: "VCN subnet"
default: "172.16.0.0/16"
required: true
visible:
not:
- ${use_existing_vcn}
bastion_shape:
type: oci:core:instanceshape:name
dependsOn:
compartmentId: ${compartment_ocid}
availabilityDomainName: ${ad}
required: true
title: "Bastion Host shape"
public_subnet:
type: string
title: "Public subnet IP range"
default: "172.16.16.0/24"
description: "Must be within VCN subnet"
required: true
visible:
not:
- ${use_existing_vcn}
private_subnet:
type: string
default: "172.16.0.0/20"
title: "Private subnet IP range"
description: "Must be within VCN subnet"
required: true
visible:
not:
- ${use_existing_vcn}
private:
type: boolean
default: true
title: "Private subnet deployment"
required: true
visible: false
shape:
type: enum
enum:
- "BM.HPC2.36"
title: "Shape of the Compute Nodes"
required: true
ssh_key:
type: string
title: "Public SSH key"
required: true
ssh_cidr:
type: string
title: "Public CIDR for SSH access"
required: true
node_count:
type: integer
required: true
minimum: 2
title: "Number of Compute Instances"
description: "Number of nodes running BeeGFS client service. In other words, will have filesystem mounted."
default: 2
boot_volume_size:
type: integer
required: true
minimum: 50
title: "Size of the boot volume in GB"
default: 50
filesystem:
title: "Filesystem"
description: "Filesystem"
type: string
visible: false
default: beegfs
use_beegfs_over_rdma:
type: boolean
title: "Use Beegfs over RDMA"
description: "Use Beegfs over RDMA"
required: true
default: true
visible: false
metadata_node_count:
type: integer
required: true
minimum: 1
maximum: ${node_count}
title: "Metadata Node Count"
description: "Number of nodes running Metadata service. Recommend to run on all nodes of the cluster"
default: ${node_count}
visible: true
storage_node_count:
type: integer
required: true
minimum: 1
maximum: ${node_count}
title: "Storage Node Count"
description: "Number of nodes running Storage service. Recommend to run on all nodes of the cluster"
default: ${node_count}
visible: true
io500:
type: boolean
title: "Install io500 binaries"
description: "Install io500 performance benchmark tool binaries"
required: true
default: false
visible: false