generated from oracle-devrel/repo-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathschema.yaml
219 lines (189 loc) · 5.65 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
title: OCI LSF deployment
description: Sample LSF deployment with resource connector configured to automatically spin-up and terminate worker nodes in OCI.
informationalText: Sample deployment of LSF 10.1 & LSF resource connector to OCI.
schemaVersion: 1.1.0
version: "20190304"
# URL of Logo Icon used on Application Information tab. Logo must be 130x130 pixels.
# (Optional)
logoUrl: https://objectstorage.eu-frankfurt-1.oraclecloud.com/p/swecMrZM1hOe003yj-USshxxq20Aiuqvx0zv3pdY1UgHlLAEGXBxLpYO7vurwGpN/n/orasenatdpltintegration03/b/default-bucket/o/arch_center/lsf-logo.png
locale: "en"
variableGroups:
- title: "General configuration"
visible: false
variables:
- tenancy_ocid
- compartment_ocid
- region
- user_ocid
- fingerprint
- private_key_path
- freeform_tags
- defined_tags
- release
- title: "LSF Master host setup"
visible: true
variables:
- parent_compartment_ocid
- master_ad
- master_hostname
- master_shape
- master_ocpus
- master_memory_gbs
- master_bootv_size_gbs
- master_image
- ${vcnCompartment}
- lsf_vcn
- ${subnetCompartment}
- lsf_subnet
- ${ssh_public_key}
- assign_public_ip
- create_rc_policies
- title: "URLs for LSF Installation required files"
visible: true
variables:
- lsfinstaller
- lsfbin
- lsfpatch
- lsf_entitlement
variables:
parent_compartment_ocid:
type: oci:identity:compartment:id
title: "Parent compartment for LSF master node."
required: true
master_ad:
type: oci:identity:availabilitydomain:name
title: "Availability domain for LSF master node."
dependsOn:
compartmentId: ${parent_compartment_ocid}
visible: complexExpression
required: true
master_hostname:
type: string
minLength: 5
maxLength: 15
pattern: ^[a-z][a-zA-Z0-9-]+$
title: "Hostname of LSF master node."
default: "lsf-master-1"
required: true
master_shape:
type: oci:core:instanceshape:name
title: Compute shape of LSF master node.
required: true
description: Tested with VM.Standard.E4.Flex shape.
pattern: ^.*?(Standard|Optimized).*?(3\.Flex|4\.Flex).*?$
dependsOn:
compartmentId: ${parent_compartment_ocid}
master_ocpus:
type: integer
title: Number of OCPUs for LSF master node.
required: true
description: 1 OCPUs = 2 Logical cores.
minimum: 1
default: 2
master_memory_gbs:
type: integer
title: RAM amount in GBs for LSF master node.
required: true
minimum: 8
default: 8
master_bootv_size_gbs:
type: integer
title: Boot volume size in GBs for LSF master node.
required: true
minimum: 50
default: 50
master_image:
title: OS Image for LSF master node.
description: Deployment was tested only with Oracle Linux 8.6.
required: true
type: oci:core:image:id
dependsOn:
compartmentId: ${parent_compartment_ocid}
operatingSystem: "Oracle Linux"
operatingSystemVersion: "8"
shape: ${master_shape}
ssh_public_key:
title: SSH Public Key
type: oci:core:ssh:publickey
required: true
vcnCompartment:
title: Select VCN compartment.
type: oci:identity:compartment:id
required: true
lsf_vcn:
title: VCN to use with LSF cluster.
required: true
type: oci:core:vcn:id
dependsOn:
compartmentId: ${vcnCompartment}
subnetCompartment:
title: Select subnet compartment.
type: oci:identity:compartment:id
required: true
lsf_subnet:
title: Subnet to use with LSF cluster.
description: Make sure that all connections are allowed within subnet.
type: oci:core:subnet:id
required: true
dependsOn:
compartmentId: ${subnetCompartment}
vcnId: ${lsf_vcn}
assign_public_ip:
title: Assign public IP to LSF Master node?
type: boolean
required: true
default: false
create_rc_policies:
title: Create LSF Resource Connector required policies?
type: boolean
required: true
default: true
lsfinstaller:
type: string
title: "URL for LSF 10.1 installer file."
description: "Tested with lsf10.1_lsfinstall.tar.Z."
required: true
lsfbin:
type: string
title: "URL for LSF 10.1 binary files for x86-64."
description: "Tested with lsf10.1_lnx310-lib217-x86_64.tar.Z."
required: true
lsfpatch:
type: string
title: "URL for LSF 10.1 601088 patch file or later."
description: "Tested with lsf10.1_lnx310-lib217-x86_64-601088.tar.Z"
required: true
lsf_entitlement:
type: string
title: "URL for LSF installation file."
description: "Tested with lsf_entitlement.dat."
required: true
outputGroups:
- title: "LSF Master Node"
outputs:
- LSF_Master_hostname
- LSF_Master_private_ip
- LSF_Master_public_ip
- title: "Access details"
outputs:
- private_key_bastion
- LSF_bastion_connection
outputs:
private_key_bastion:
title: Generated Private Key for Bastion access
description: The private SSH key for the key-pair that you want to use for bastion access (session resource will be deleted automatically after 180 minutes.)
sensitive: true
type: copyableString
LSF_Master_hostname:
type: string
title: LSF Master hostname
LSF_Master_private_ip:
type: string
title: LSF Master private IP
LSF_Master_public_ip:
type: string
title: LSF Master public IP
LSF_bastion_connection:
type: copyableString
title: Bastion session to LSF Master node
description: The Bastion session terminates automatically in 3 hours after creation. For required private_key check private_key_bastion output.