-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.yaml
341 lines (301 loc) · 8.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
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
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
title: Kubeflow on OKE
schemaVersion: 1.1.0
version: "20211108"
locale: "en"
groupings:
- title: "SSH Key"
variables:
- ssh_provided_public_key
- title: "Availabilty Domain"
variables:
- availability_domain
- title: "VCN Options"
variables:
- useExistingVcn
- myVcn
- vcn_dns_label
- custom_cidrs
- VCN_CIDR
- edge_cidr
- private_cidr
- fss_cidr
- title: "OKE Cluster Options"
variables:
- create_new_oke_cluster
- cluster_name
- kubernetes_version
- cluster_endpoint_config_is_public_ip_enabled
- OKESubnet
- existing_oke_cluster_id
- title: "OKE Kubeflow Pool Configuration"
variables:
- kubeflow_node_pool_name
- kubeflow_node_pool_size
- nodepool_image_version
- kubeflow_node_pool_shape
- node_pool_node_shape_config_memory_in_gbs
- node_pool_node_shape_config_ocpus
- title: "Bastion Configuration"
variables:
- public_edge_node
- bastion_name
- bastion_shape
- edgeSubnet
- title: "File System Configuration"
variables:
- create_mount_target
- FssSubnet
- title: "Kubeflow Configuration"
variables:
- kustomize_version
- kubeflow_version
- kubeflow_password
- reserved_public_ip
- configure_oracle_auth
- oci_domain
- oci_client_id
- oci_client_secret
- title: "Pre-Defined"
variables:
- region
- compartment_ocid
- tenancy_ocid
- user_ocid
- private_key_path
- fingerprint
- oci_service_gateway
- cluster_options_add_ons_is_kubernetes_dashboard_enabled
- cluster_options_admission_controller_options_is_pod_security_policy_enabled
- OELImageOCID
- service_port
- endpoint_subnet_id
visible: false
variables:
ssh_provided_public_key:
type: string
title: "SSH Public Key"
description: "Copy/Paste the contents of your SSH Public Key"
required: true
default: ""
create_mount_target:
type: boolean
title: "Create Mount Target"
description: "It will create a mount target and Kubeflow will use File System as default storage"
default: "false"
create_new_oke_cluster:
type: boolean
title: "Create OKE Cluster"
description: "Check to deploy a new OKE cluster. If you do not create an OKE cluster you must provide the OCID of an existing one."
default: "true"
existing_oke_cluster_id:
type: string
title: "Existing OKE Cluster ID"
description: "Input the existing OKE cluster ID here for deployment."
visible:
not:
- create_new_oke_cluster
cluster_endpoint_config_is_public_ip_enabled:
type: boolean
title: "Create Public Endpoint"
description: "By default this template will create a secure Kubernetes API endpoint which is on a private subnet accessible only inside the VCN. By checking this box, you choose to deploy the cluster to a PUBLIC subnet and create a PUBLICLY ACCESSIBLE endpoint."
default: false
visible: create_new_oke_cluster
kubernetes_version:
type: enum
enum:
- "v1.29.1"
- "v1.26.2"
- "v1.26.7"
title: "Kubernetes Version"
description: "Choose the version of Kubernetes to deploy"
required: true
default: "v1.29.1"
visible: create_new_oke_cluster
nodepool_image_version:
type: string
title: Node Pool Image Version
description: "Oracle Linux version only"
default: "7.9"
required: false
cluster_name:
type: string
title: "OKE Cluster Name"
description: "Name the OKE Cluster"
required: "true"
default: "kubeflow-cluster"
visible: create_new_oke_cluster
useExistingVcn:
type: boolean
title: "Use Existing VCN"
description: "Click to use existing VCN, otherwise VCN and Subnets will be created"
required: true
default: false
myVcn:
type: oci:core:vcn:id
title: "Existing VCN"
description: "Select Existing VCN"
dependsOn:
compartmentId: compartment_ocid
visible: useExistingVcn
required: true
custom_cidrs:
type: boolean
title: "Customize Network CIDRS"
description: "Click to customize CIDR ranges, only applicable when creating VCN as part of deployment"
required: true
default: false
visible:
not:
- useExistingVcn
OKESubnet:
type: oci:core:subnet:id
title: "OKE Subnet"
description: "Select Subnet for OKE cluster"
dependsOn:
compartmentId: compartment_ocid
vcnId: myVcn
visible: useExistingVcn
required: true
edgeSubnet:
type: oci:core:subnet:id
title: "Edge Subnet"
description: "Select Subnet for Bastion. If using remote exec, ensure that this is a public subnet or deployment will fail."
dependsOn:
compartmentId: compartment_ocid
vcnId: myVcn
visible: useExistingVcn
required: true
FssSubnet:
type: oci:core:subnet:id
title: "Mount Target Subnet"
description: "Select Subnet for Mount Target."
dependsOn:
compartmentId: compartment_ocid
vcnId: myVcn
visible: useExistingVcn
required: false
availability_domain:
type: oci:identity:availabilitydomain:name
title: "Availability Domain"
description: "Select AD"
dependsOn:
compartmentId: compartment_ocid
required: true
VCN_CIDR:
type: string
title: "VCN CIDR"
description: "Customize VCN top level CIDR"
visible: custom_cidrs
edge_cidr:
type: string
title: "Edge Subnet CIDR"
description: "Customize Edge Subnet CIDR, ensure this fits in VCN CIDR range."
visible: custom_cidrs
private_cidr:
type: string
title: "Private Subnet CIDR"
description: "Customize Private Subnet CIDR, ensure this fits in VCN CIDR range."
visible: custom_cidrs
fss_cidr:
type: string
title: "Mount Target Subnet CIDR"
description: "Customize Mount Target Subnet CIDR, ensure this fits in VCN CIDR range."
visible: custom_cidrs
vcn_dns_label:
type: string
title: "VCN DNS Label"
description: "Set the VCN DNS label to be used when creating VCN. Default is 'kubeflowvcn' which sets the VCN domain to 'kubeflowvcn.oraclevcn.com'"
visible:
not:
- useExistingVcn
kubeflow_node_pool_name:
type: string
title: "Kubeflow Node Pool Name"
description: "Define the node pool name, no spaces"
required: true
visible: create_new_oke_cluster
kubeflow_node_pool_shape:
type: oci:core:instanceshape:name
title: "Kubeflow Node Pool Shape"
description: "Define node pool shape"
required: true
visible: create_new_oke_cluster
dependsOn:
compartmentId: compartment_ocid
default: "VM.Standard2.4"
kubeflow_node_pool_size:
type: int
title: "Kubeflow Node Pool size"
description: "Enter a value, minimum 1"
min: 1
default: 1
required: true
visible: create_new_oke_cluster
kubeflow_namespace:
type: string
title: "Kubeflow Namespace"
default: "kubeflow"
visible: false
kube_label:
type: string
title: "Kube Label"
default: "kubeflow"
visible: false
bastion_name:
type: string
title: "Bastion Name"
default: "bastion"
required: true
bastion_shape:
type: oci:core:instanceshape:name
title: "Bastion Instance Shape"
dependsOn:
compartmentId: compartment_ocid
default: "VM.Standard2.1"
required: true
bastion_shape_config_ocpus:
type: string
visible: false
bastion_shape_config_memory_in_gbs:
type: string
visible: false
public_edge_node:
type: boolean
title: "Deploy Bastion to Public Subnet"
default: true
required: true
kubeflow_password:
type: string
title: "Default password for Kubeflow Login"
reserved_public_ip:
type: string
title: "Input an existing Reserved Public ip to be the point of access for Kubeflow"
required: true
configure_oracle_auth:
type: boolean
title: "Configure authentication with Oracle IDCS"
required: true
default: false
oci_domain:
type: string
title: "OCI Identity Domain URL"
description: ""
default: "<https://idcs-xxxxxxxxxxxxxxxxxxxxxx.identity.oraclecloud.com>"
visible: configure_oracle_auth
required: true
oci_client_id:
type: string
title: "OCI Integrated Application Client ID"
visible: configure_oracle_auth
required: true
oci_client_secret:
type: string
title: "OCI Integrated Application Client Secret"
visible: configure_oracle_auth
required: true
region:
type: oci:identity:region:name
required: true
visible: true
title: Region
description: "Region where you want to deploy the resources defined by this stack."