|
| 1 | +# Copyright © 2023, 2025, Oracle and/or its affiliates. |
| 2 | +# All rights reserved. The Universal Permissive License (UPL), Version 1.0 as shown at http://oss.oracle.com/licenses/upl |
| 3 | + |
| 4 | +title: "Oracle AI Explorer for Apps" |
| 5 | +description: "Explore the capabilities of AI with the Oracle Database." |
| 6 | +schemaVersion: 1.1.0 |
| 7 | +version: "20190304" |
| 8 | +logoUrl: https://github.com/oracle-samples/ai-explorer/blob/main/docs/static/images/logo.png |
| 9 | +locale: "en" |
| 10 | + |
| 11 | +variableGroups: |
| 12 | + ######################################################################### |
| 13 | + # Hidden |
| 14 | + ######################################################################### |
| 15 | + - title: "Default Hidden" |
| 16 | + variables: |
| 17 | + - tenancy_ocid |
| 18 | + - region |
| 19 | + - user_ocid |
| 20 | + - current_user_ocid |
| 21 | + - fingerprint |
| 22 | + - private_key_path |
| 23 | + - private_key |
| 24 | + visible: false |
| 25 | + |
| 26 | + - title: "Hidden (Defaults)" |
| 27 | + variables: |
| 28 | + - adb_version |
| 29 | + - k8s_version |
| 30 | + - k8s_worker_os_ver |
| 31 | + - service_lb_allowed_app_client_port |
| 32 | + - service_lb_allowed_app_server_port |
| 33 | + visible: false |
| 34 | + |
| 35 | + ######################################################################### |
| 36 | + # General (Backend as a Service) |
| 37 | + ######################################################################### |
| 38 | + - title: "AI Explorer" |
| 39 | + variables: |
| 40 | + - compartment_ocid |
| 41 | + - label_prefix |
| 42 | + visible: true |
| 43 | + |
| 44 | + ######################################################################### |
| 45 | + # Database |
| 46 | + ######################################################################### |
| 47 | + - title: "Database Options" |
| 48 | + variables: |
| 49 | + - adb_license_model |
| 50 | + - adb_edition |
| 51 | + - adb_whitelist_cidrs |
| 52 | + - adb_ecpu_core_count |
| 53 | + - adb_is_cpu_auto_scaling_enabled |
| 54 | + - adb_data_storage_size_in_gb |
| 55 | + - adb_is_storage_auto_scaling_enabled |
| 56 | + visible: true |
| 57 | + |
| 58 | + ######################################################################### |
| 59 | + # Kubernetes Cluster |
| 60 | + ######################################################################### |
| 61 | + - title: "Kubernetes Cluster Options" |
| 62 | + variables: |
| 63 | + - k8s_api_is_public |
| 64 | + - k8s_api_endpoint_allowed_cidrs |
| 65 | + - k8s_node_pool_cpu_size |
| 66 | + - k8s_worker_cpu_shape |
| 67 | + - k8s_worker_cpu_ocpu |
| 68 | + - k8s_node_pool_gpu_deploy |
| 69 | + - k8s_node_pool_gpu_size |
| 70 | + - k8s_worker_gpu_shape |
| 71 | + visible: true |
| 72 | + |
| 73 | + ######################################################################### |
| 74 | + # Load Balancer |
| 75 | + ######################################################################### |
| 76 | + - title: "Load Balancers Options" |
| 77 | + variables: |
| 78 | + - service_lb_is_public |
| 79 | + - service_lb_min_shape |
| 80 | + - service_lb_max_shape |
| 81 | + - service_lb_allowed_app_client_cidrs |
| 82 | + - service_lb_allowed_app_server_cidrs |
| 83 | + |
| 84 | + visible: true |
| 85 | + |
| 86 | +########################################################################### |
| 87 | +variables: |
| 88 | + compartment_ocid: |
| 89 | + type: oci:identity:compartment:id |
| 90 | + title: "Compartment" |
| 91 | + required: true |
| 92 | + |
| 93 | + label_prefix: |
| 94 | + type: string |
| 95 | + title: "Application Name" |
| 96 | + pattern: "^$|^[a-zA-Z0-9]{1,12}$" |
| 97 | + required: false |
| 98 | + |
| 99 | + ######################################################################### |
| 100 | + adb_license_model: |
| 101 | + type: enum |
| 102 | + title: "Autonomous Database License Model" |
| 103 | + required: true |
| 104 | + default: "LICENSE_INCLUDED" |
| 105 | + enum: |
| 106 | + - "LICENSE_INCLUDED" |
| 107 | + - "BRING_YOUR_OWN_LICENSE" |
| 108 | + |
| 109 | + adb_edition: |
| 110 | + type: enum |
| 111 | + title: "Oracle Database Edition" |
| 112 | + required: true |
| 113 | + default: "ENTERPRISE_EDITION" |
| 114 | + enum: |
| 115 | + - "ENTERPRISE_EDITION" |
| 116 | + - "STANDARD_EDITION" |
| 117 | + visible: |
| 118 | + and: |
| 119 | + - eq: |
| 120 | + - adb_license_model |
| 121 | + - BRING_YOUR_OWN_LICENSE |
| 122 | + |
| 123 | + adb_whitelist_cidrs: |
| 124 | + type: array |
| 125 | + title: "ADB Access Control" |
| 126 | + required: true |
| 127 | + default: "0.0.0.0/0" |
| 128 | + pattern: "((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9]).(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9]).(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9]).(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\\/(3[0-2]|[1-2]?[0-9])(,?)( ?)){1,}$" |
| 129 | + |
| 130 | + adb_ecpu_core_count: |
| 131 | + type: number |
| 132 | + title: "Autonomous Database Core Count" |
| 133 | + required: true |
| 134 | + minimum: 2 |
| 135 | + multipleOf: 1 |
| 136 | + |
| 137 | + adb_is_cpu_auto_scaling_enabled: |
| 138 | + type: boolean |
| 139 | + title: "Allow Autonomous Database CPU Auto Scaling? (3x CPU)" |
| 140 | + required: true |
| 141 | + |
| 142 | + adb_data_storage_size_in_gb: |
| 143 | + type: number |
| 144 | + title: "Autonomous Database Data Storage Size (GB)" |
| 145 | + description: "" |
| 146 | + required: true |
| 147 | + minimum: 20 |
| 148 | + maximum: 393216 |
| 149 | + multipleOf: 1 |
| 150 | + |
| 151 | + adb_is_storage_auto_scaling_enabled: |
| 152 | + type: boolean |
| 153 | + title: "Allow Autonomous Database Storage Auto Scaling?" |
| 154 | + required: true |
| 155 | + |
| 156 | + ######################################################################### |
| 157 | + k8s_api_is_public: |
| 158 | + type: boolean |
| 159 | + title: "Public API Endpoint?" |
| 160 | + required: true |
| 161 | + |
| 162 | + k8s_api_endpoint_allowed_cidrs: |
| 163 | + type: array |
| 164 | + title: "API Endpoint Access Control" |
| 165 | + required: true |
| 166 | + default: "0.0.0.0/0" |
| 167 | + pattern: "$|((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9]).(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9]).(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9]).(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\\/(3[0-2]|[1-2]?[0-9])(,?)( ?)){1,}$" |
| 168 | + visible: k8s_api_is_public |
| 169 | + |
| 170 | + k8s_node_pool_cpu_size: |
| 171 | + type: integer |
| 172 | + title: "CPU Node Pool Workers" |
| 173 | + required: true |
| 174 | + minimum: 1 |
| 175 | + maximum: 80 |
| 176 | + multipleOf: 1 |
| 177 | + |
| 178 | + k8s_worker_cpu_shape: |
| 179 | + type: enum |
| 180 | + title: "CPU Node Pool Worker Shape" |
| 181 | + required: true |
| 182 | + enum: |
| 183 | + - "VM.Standard.E5.Flex" |
| 184 | + - "VM.Standard.E4.Flex" |
| 185 | + |
| 186 | + k8s_worker_cpu_ocpu: |
| 187 | + type: integer |
| 188 | + title: "CPU Worker Core Count" |
| 189 | + required: true |
| 190 | + minimum: 1 |
| 191 | + maximum: 64 |
| 192 | + multipleOf: 1 |
| 193 | + |
| 194 | + k8s_node_pool_gpu_deploy: |
| 195 | + type: boolean |
| 196 | + title: "Deploy GPU Node Pool?" |
| 197 | + required: true |
| 198 | + |
| 199 | + k8s_worker_gpu_shape: |
| 200 | + type: enum |
| 201 | + title: "Node Pool Worker Shape" |
| 202 | + required: true |
| 203 | + default: "VM.GPU.A10.1" |
| 204 | + enum: |
| 205 | + - "VM.GPU.A10.1" |
| 206 | + visible: k8s_node_pool_gpu_deploy |
| 207 | + |
| 208 | + k8s_node_pool_gpu_size: |
| 209 | + type: integer |
| 210 | + title: "GPU Node Pool Workers" |
| 211 | + required: true |
| 212 | + minimum: 1 |
| 213 | + maximum: 80 |
| 214 | + multipleOf: 1 |
| 215 | + visible: k8s_node_pool_gpu_deploy |
| 216 | + |
| 217 | + ######################################################################### |
| 218 | + service_lb_is_public: |
| 219 | + type: boolean |
| 220 | + title: "Enable Ingress through Public Load Balancer?" |
| 221 | + default: true |
| 222 | + |
| 223 | + service_lb_min_shape: |
| 224 | + type: integer |
| 225 | + title: "Minimum Load Balancer Bandwidth (Mbps)" |
| 226 | + required: true |
| 227 | + minimum: 10 |
| 228 | + maximum: 10 |
| 229 | + multipleOf: 10 |
| 230 | + visible: service_lb_is_public |
| 231 | + |
| 232 | + service_lb_max_shape: |
| 233 | + type: integer |
| 234 | + title: "Maximum Load Balancer Bandwidth (Mbps)" |
| 235 | + required: true |
| 236 | + minimum: 10 |
| 237 | + maximum: 8000 |
| 238 | + multipleOf: 10 |
| 239 | + visible: service_lb_is_public |
| 240 | + |
| 241 | + service_lb_allowed_app_client_cidrs: |
| 242 | + type: array |
| 243 | + title: "Public Load Balancer Access Control for GUI" |
| 244 | + required: true |
| 245 | + default: "0.0.0.0/0" |
| 246 | + pattern: "((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9]).(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9]).(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9]).(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\\/(3[0-2]|[1-2]?[0-9])(,?)( ?)){1,}$" |
| 247 | + visible: service_lb_is_public |
| 248 | + |
| 249 | + service_lb_allowed_app_server_cidrs: |
| 250 | + type: array |
| 251 | + title: "Public Load Balancer Access Control for Application Server" |
| 252 | + required: true |
| 253 | + default: "0.0.0.0/0" |
| 254 | + pattern: "((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9]).(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9]).(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9]).(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\\/(3[0-2]|[1-2]?[0-9])(,?)( ?)){1,}$" |
| 255 | + visible: service_lb_is_public |
0 commit comments