{
  "apiVersion": "paas.envmgmt.io/v1",
  "kind": "ComputeProfile",
  "metadata": {
    "name": "fractional-memory-gpu-dev-pod",
    "description": "Developer Pod with access to Fractional GPU Memory resources. Users can select from 2GB, 5GB, 10GB, 15GB and 20GB GPU Memory with different rate cards for each fraction. ",
    "labels": {
      "paas.envmgmt.io/inventory": "pod",
      "paas.envmgmt.io/inventory.config": "[\n  {\n      \"type\": \"match\",\n      \"keyInVariable\": \"Node Type\",\n      \"keyInDevice\": \"tags.node_type\"\n  },\n  {\n      \"type\": \"capacity\",\n      \"keyInVariable\": \"CPU\",\n      \"keyInCapacity\": \"requiredCPU\"\n  },\n  {\n      \"type\": \"capacity\",\n      \"keyInVariable\": \"Memory\",\n      \"keyInCapacity\": \"requiredMemoryMB\"\n  },\n  {\n      \"type\": \"capacity\",\n      \"keyInVariable\": \"GPU Count\",\n      \"keyInCapacity\": \"requiredGPU\"\n  }\n]"
    },
    "project": "system-catalog",
    "displayName": "Fractional GPU Memory Dev Pod"
  },
  "spec": {
    "type": "Compute",
    "allocationType": "None",
    "scalabilityType": "None",
    "environmentTemplate": {
      "name": "system-serverless-pods",
      "version": "v7.1"
    },
    "variables": [
      {
        "name": "Access Mode",
        "valueType": "text",
        "value": "\"\"",
        "options": {
          "description": "Access mode for the persistent volume (e.g., 'ReadWriteOnce', 'ReadOnlyMany', 'ReadWriteMany').",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "Storage",
            "weight": "640"
          }
        }
      },
      {
        "name": "Action",
        "valueType": "json",
        "value": "$(trigger.payload.action)$",
        "options": {
          "description": "Operation to perform (create, status, logs).",
          "required": true,
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "General Configuration",
            "tooltip": "Choose the pod lifecycle action.",
            "weight": "110"
          }
        }
      },
      {
        "name": "Annotations",
        "valueType": "json",
        "value": "{\"injectValue(KeyX)\": \"injectValue(KeyY)\"}",
        "options": {
          "description": "Annotations to attach to the container as key-value pairs (e.g., {\"env\":\"dev\"}).",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "Container Configuration",
            "weight": "861"
          }
        }
      },
      {
        "name": "Arguments",
        "valueType": "json",
        "value": "[]",
        "options": {
          "description": "Arguments to pass to the container entrypoint as a JSON array of strings.",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "Container Configuration",
            "weight": "520"
          }
        }
      },
      {
        "name": "Autogenerate SSH Key",
        "valueType": "text",
        "value": "true",
        "options": {
          "description": "Auto-generate SSH key if not provided. Set to 'true' or 'false'.",
          "override": {
            "type": "allowed"
          },
          "displayMetadata": {
            "alias": "Autogenerated SSH Key",
            "radioOptions": [
              {
                "label": "Yes",
                "value": "true"
              },
              {
                "label": "No",
                "value": "false"
              }
            ],
            "section": "SSH Access",
            "type": "radio",
            "weight": "310"
          }
        }
      },
      {
        "name": "Commands",
        "valueType": "json",
        "value": "[]",
        "options": {
          "description": "Entrypoint command for the container as a JSON array of strings (e.g., '[\"sleep\", \"infinity\"]').",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "Container Configuration",
            "tooltip": "Overrides the default container CMD.",
            "weight": "510"
          }
        }
      },
      {
        "name": "Container Port",
        "valueType": "text",
        "options": {
          "description": "The port on which the application will run inside the pod (e.g., '8888').",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "Web Access",
            "weight": "370"
          }
        }
      },
      {
        "name": "CPU",
        "valueType": "text",
        "value": "500",
        "options": {
          "description": "Requested CPU resources for the pod in millicores (m).",
          "override": {
            "type": "allowed"
          },
          "displayMetadata": {
            "dropdownValues": [
              {
                "label": "500 Mi",
                "text": "",
                "value": "500"
              },
              {
                "label": "1000 Mi",
                "text": "",
                "value": "1000"
              },
              {
                "label": "2000 Mi",
                "text": "",
                "value": "2000"
              }
            ],
            "section": "Pod Resources",
            "type": "dropdown",
            "weight": "400"
          }
        }
      },
      {
        "name": "Device Details",
        "valueType": "json",
        "value": "[]",
        "options": {
          "description": "Inventory device details. Should be a JSON array of DeviceDetail objects.",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "General Configuration",
            "weight": "140"
          }
        }
      },
      {
        "name": "Enable SSH Access",
        "valueType": "text",
        "value": "true",
        "options": {
          "description": "Enable SSH access to pod. Set to 'true' or 'false'.",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "SSH Access",
            "weight": "300"
          }
        }
      },
      {
        "name": "Enable Storage",
        "valueType": "text",
        "value": "false",
        "options": {
          "description": "Enable persistent storage for the pod. Set to 'true' or 'false'.",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "Storage",
            "weight": "600"
          }
        }
      },
      {
        "name": "Enable Web Access",
        "valueType": "text",
        "value": "false",
        "options": {
          "description": "Enable web access for pods like notebooks. Set to 'true' or 'false'.",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "Web Access",
            "weight": "330"
          }
        }
      },
      {
        "name": "Env Vars",
        "valueType": "json",
        "value": "[]",
        "options": {
          "description": "Environment variables for the pod, as a JSON array of strings (e.g., [\"MY_ENV_VAR=value\"]).",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "Container Configuration",
            "weight": "870"
          }
        }
      },
      {
        "name": "GPU Count",
        "valueType": "text",
        "value": "0",
        "options": {
          "description": "Number of GPUs required for the pod.",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "dropdownValues": [
              {
                "label": "0",
                "value": "0"
              },
              {
                "label": "1",
                "value": "1"
              },
              {
                "label": "2",
                "value": "2"
              },
              {
                "label": "4",
                "value": "4"
              },
              {
                "label": "8",
                "value": "8"
              }
            ],
            "section": "Pod Resources",
            "tooltip": "Set to 0 if GPU is not needed or using Advanced GPU Sharing.",
            "type": "dropdown",
            "weight": "420"
          }
        }
      },
      {
        "name": "GPU Profile",
        "valueType": "text",
        "value": "gpu",
        "options": {
          "description": "GPU profile (e.g., A100-80GB, H100-80GB, mig-1g.5gb etc).",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "Pod Resources",
            "tooltip": "Leave blank if GPU is not required.",
            "weight": "435"
          }
        }
      },
      {
        "name": "GPU Type",
        "valueType": "text",
        "value": "nvidia",
        "options": {
          "description": "GPU vendor type (e.g., NVIDIA, AMD etc).",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "Pod Resources",
            "tooltip": "Leave blank if GPU is not required.",
            "weight": "430"
          }
        }
      },
      {
        "name": "Host Cluster Name",
        "valueType": "text",
        "value": "kai-host",
        "options": {
          "description": "Logical name of the host cluster.",
          "required": true,
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "Cluster Access",
            "tooltip": "Used for display and inventory mapping.",
            "weight": "200"
          }
        }
      },
      {
        "name": "Hostname Suffix",
        "valueType": "text",
        "value": "paas.demo.gorafay.net",
        "options": {
          "description": "Hostname suffix for web access (e.g., 'example.com').",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "Web Access",
            "weight": "360"
          }
        }
      },
      {
        "name": "Ingress Annotations",
        "valueType": "json",
        "value": "{}",
        "options": {
          "description": "Ingress annotations as a JSON object (e.g., '{\"nginx.ingress.kubernetes.io/rewrite-target\": \"/\"}').",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "Web Access",
            "weight": "380"
          }
        }
      },
      {
        "name": "Ingress Class Name",
        "valueType": "text",
        "value": "traefik",
        "options": {
          "description": "Name of the IngressClass resource to use (e.g., 'nginx').",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "Web Access",
            "weight": "390"
          }
        }
      },
      {
        "name": "Is Private Registry",
        "valueType": "text",
        "value": "false",
        "options": {
          "description": "Set to 'true' if the pod image is in a private registry.",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "Container Configuration",
            "weight": "530"
          }
        }
      },
      {
        "name": "KeyAlpha",
        "valueType": "text",
        "options": {
          "description": "Freeform variables alpha.",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "General Configuration",
            "weight": "810"
          }
        }
      },
      {
        "name": "KeyBeta",
        "valueType": "text",
        "options": {
          "description": "Freeform variable beta.",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "General Configuration",
            "weight": "820"
          }
        }
      },
      {
        "name": "KeyGamma",
        "valueType": "text",
        "options": {
          "description": "Freeform variable gamma.",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "General Configuration",
            "weight": "830"
          }
        }
      },
      {
        "name": "KeyX",
        "valueType": "text",
        "value": "gpu-memory",
        "options": {
          "description": "Freeform variable X.",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "alias": "Advanced GPU Sharing Mode",
            "dropdownValues": [
              {
                "label": "Memory",
                "text": "GPU Advanced Sharing Mode: Memory",
                "value": "gpu-memory"
              },
              {
                "label": "Fractional GPU",
                "text": "GPU Advanced Sharing Mode: Fraction",
                "value": "gpu-fraction"
              },
              {
                "label": "None",
                "text": "No GPU Advanced Sharing",
                "value": "no-advanced-gpu-sharing"
              }
            ],
            "section": "Pod Resources",
            "type": "dropdown",
            "weight": "423"
          }
        }
      },
      {
        "name": "KeyY",
        "valueType": "text",
        "value": "2000",
        "options": {
          "description": "Freeform variable Y.",
          "override": {
            "type": "allowed"
          },
          "displayMetadata": {
            "alias": "GPU Fraction",
            "dropdownValues": [
              {
                "label": "2GB",
                "text": "",
                "value": "2000"
              },
              {
                "label": "5GB",
                "text": "",
                "value": "5000"
              },
              {
                "label": "10GB",
                "text": "",
                "value": "10000"
              },
              {
                "label": "15GB",
                "text": "",
                "value": "15000"
              },
              {
                "label": "20GB",
                "text": "",
                "value": "20000"
              }
            ],
            "extraDescription": "Enter the requested GPU Memory (e.g. 2000, 4000, 8000, 10000, ...) or Fractional GPU (e.g. 0.25, 0.5, ...) ",
            "section": "Pod Resources",
            "tooltip": "Enter the requested GPU Memory (e.g. 2000, 4000, 8000, 10000, ...) or Fractional GPU (e.g. 0.25, 0.5, ...) ",
            "type": "dropdown",
            "weight": "424"
          }
        }
      },
      {
        "name": "KeyZ",
        "valueType": "text",
        "value": "demo",
        "options": {
          "description": "Freeform variable Z.",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "alias": "GPU Advanced Sharing Queue",
            "dropdownValues": [
              {
                "label": "None",
                "text": "No GPU Advanced Sharing",
                "value": "disabled"
              },
              {
                "label": "Demo",
                "text": "",
                "value": "demo"
              }
            ],
            "section": "Pod Resources",
            "type": "dropdown",
            "weight": "422"
          }
        }
      },
      {
        "name": "Kubeconfig",
        "valueType": "text",
        "options": {
          "description": "Provide YAML format kubeconfig for accessing the host cluster.",
          "sensitive": true,
          "required": true,
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "Cluster Access",
            "tooltip": "Required to deploy the pod remotely on the specified cluster.",
            "weight": "210"
          },
          "mask": true
        }
      },
      {
        "name": "Labels",
        "valueType": "json",
        "value": "{\"kai.scheduler/queue\": \"injectValue(KeyZ)\"}",
        "options": {
          "description": "Labels to attach to the container as key-value pairs (e.g., {\"env\":\"dev\"}).",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "Container Configuration",
            "weight": "860"
          }
        }
      },
      {
        "name": "Log Success Pattern",
        "valueType": "text",
        "options": {
          "description": "Pattern in logs to check for successful deployment.",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "General Configuration",
            "tooltip": "Regex or string to match in pod logs for success.",
            "weight": "800"
          }
        }
      },
      {
        "name": "Memory",
        "valueType": "text",
        "value": "512",
        "options": {
          "description": "Requested memory resources for the pod in MiB.",
          "override": {
            "type": "allowed"
          },
          "displayMetadata": {
            "dropdownValues": [
              {
                "label": "512 MiB",
                "text": "",
                "value": "512"
              },
              {
                "label": "1 GiB",
                "text": "",
                "value": "1024"
              },
              {
                "label": "2 GiB",
                "text": "",
                "value": "2048"
              }
            ],
            "section": "Pod Resources",
            "type": "dropdown",
            "weight": "410"
          }
        }
      },
      {
        "name": "Namespace",
        "valueType": "expression",
        "value": "$(environment.name)$",
        "options": {
          "description": "Namespace where the pod will be deployed.",
          "required": true,
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "General Configuration",
            "tooltip": "Target namespace for pod deployment.",
            "weight": "100"
          }
        }
      },
      {
        "name": "Node Selectors",
        "valueType": "json",
        "value": "{}",
        "options": {
          "description": "Node selector constraints for pod scheduling, as a JSON object of key-value pairs.",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "Advanced Scheduling",
            "weight": "710"
          }
        }
      },
      {
        "name": "Node Type",
        "valueType": "text",
        "value": "A10",
        "options": {
          "description": "Preferred node type for GPU scheduling (e.g., H100, A100).",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "dropdownValues": [
              {
                "label": "A10",
                "value": "A10"
              },
              {
                "label": "H100",
                "value": "H100"
              },
              {
                "label": "H200",
                "value": "H200"
              }
            ],
            "section": "Pod Resources",
            "tooltip": "Optional. Used to place workloads on specialized nodes.",
            "type": "dropdown",
            "weight": "440"
          }
        }
      },
      {
        "name": "Pod Image",
        "valueType": "text",
        "value": "registry.dev.rafay-edge.net/ubuntu-24-04-ssh-pod:v1",
        "options": {
          "description": "Container image to use for the pod.",
          "required": true,
          "override": {
            "type": "allowed"
          },
          "displayMetadata": {
            "alias": "Pod Image",
            "dropdownValues": [
              {
                "label": "Ubuntu 22-04",
                "value": "registry.dev.rafay-edge.net/ubuntu-22-04-ssh-pod:v1"
              },
              {
                "label": "Ubuntu 24-04",
                "value": "registry.dev.rafay-edge.net/ubuntu-24-04-ssh-pod:v1"
              },
              {
                "label": "Pytorch-2.1 CUDA11.8",
                "value": "registry.dev.rafay-edge.net/dev/pytorch-2.1-ubuntu-22-04-ssh:20250804221258"
              },
              {
                "label": "Pytorch-2.2 CUDA 12.1",
                "value": "registry.dev.rafay-edge.net/dev/pytorch-2.2-ubuntu-22-04-ssh:20250805041333"
              },
              {
                "label": "Pytorch-2.4 CUDA 12.4",
                "value": "registry.dev.rafay-edge.net/dev/pytorch-2-4-ubuntu-24-04-ssh:20250731185301"
              },
              {
                "label": "Pytorch-2.7 CUDA 12.8",
                "value": "repo.dev.rafay-edge.net/dev/pytorch-2.7-ubuntu-22-04-ssh:20250805015309"
              }
            ],
            "section": "Container Configuration",
            "tooltip": "Image must be accessible from the cluster (public or via registry credentials).",
            "type": "dropdown",
            "weight": "500"
          }
        }
      },
      {
        "name": "Pod Scheduler Name",
        "valueType": "text",
        "value": "kai-scheduler",
        "options": {
          "description": "Name of the scheduler to use for the pod (e.g., \"kai-scheduler\").",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "alias": "Advanced GPU Sharing",
            "dropdownValues": [
              {
                "label": "Disabled",
                "text": "",
                "value": "\"\""
              },
              {
                "label": "Enabled",
                "text": "",
                "value": "kai-scheduler"
              }
            ],
            "section": "Pod Resources",
            "type": "dropdown",
            "weight": "421"
          }
        }
      },
      {
        "name": "Public Key",
        "valueType": "text",
        "options": {
          "description": "SSH public key to inject into the pod.",
          "override": {
            "type": "allowed"
          },
          "displayMetadata": {
            "alias": "SSH Public Key",
            "section": "SSH Access",
            "weight": "320"
          }
        }
      },
      {
        "name": "Registry Email",
        "valueType": "text",
        "options": {
          "description": "Email for the private registry. Required if 'Is Private Registry' is true.",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "Container Configuration",
            "weight": "570"
          }
        }
      },
      {
        "name": "Registry Password",
        "valueType": "text",
        "options": {
          "description": "Password for the private registry. Required if 'Is Private Registry' is true.",
          "sensitive": true,
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "Container Configuration",
            "weight": "560"
          }
        }
      },
      {
        "name": "Registry Server",
        "valueType": "text",
        "options": {
          "description": "Server address for the private registry (e.g., 'docker.io'). Required if 'Is Private Registry' is true.",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "Container Configuration",
            "weight": "540"
          }
        }
      },
      {
        "name": "Registry Username",
        "valueType": "text",
        "options": {
          "description": "Username for the private registry. Required if 'Is Private Registry' is true.",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "Container Configuration",
            "weight": "550"
          }
        }
      },
      {
        "name": "Security Context",
        "valueType": "json",
        "value": "{}",
        "options": {
          "description": "Pod security context as key-value pairs (e.g., {\"runAsUser\":\"1000\"}).",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "Container Configuration",
            "weight": "880"
          }
        }
      },
      {
        "name": "SKU Type",
        "valueType": "text",
        "value": "developer-pod",
        "options": {
          "description": "SKU type like pod, notebook, or custom.",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "General Configuration",
            "weight": "120"
          }
        }
      },
      {
        "name": "SSL Certificate Private Key",
        "valueType": "text",
        "options": {
          "description": "Private key for SSL certificate.",
          "sensitive": true,
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "Web Access",
            "weight": "350"
          }
        }
      },
      {
        "name": "SSL Certificate Public Key",
        "valueType": "text",
        "options": {
          "description": "Public key for SSL certificate.",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "Web Access",
            "weight": "340"
          }
        }
      },
      {
        "name": "Storage Class",
        "valueType": "text",
        "options": {
          "description": "Storage class to use for the persistent volume.",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "Storage",
            "weight": "630"
          }
        }
      },
      {
        "name": "Storage Path",
        "valueType": "text",
        "options": {
          "description": "Mount path inside the container for the storage volume.",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "Storage",
            "weight": "620"
          }
        }
      },
      {
        "name": "Storage Size",
        "valueType": "text",
        "options": {
          "description": "Size of the persistent storage volume (e.g., '10Gi').",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "Storage",
            "weight": "610"
          }
        }
      },
      {
        "name": "Timeout Seconds",
        "valueType": "text",
        "value": "300",
        "options": {
          "description": "Deployment timeout in seconds.",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "General Configuration",
            "weight": "130"
          }
        }
      },
      {
        "name": "Tolerations",
        "valueType": "json",
        "value": "[]",
        "options": {
          "description": "Tolerations for scheduling on tainted nodes, as a JSON array of toleration objects.",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "Advanced Scheduling",
            "weight": "700"
          }
        }
      },
      {
        "name": "Volume Mounts",
        "valueType": "json",
        "value": "[]",
        "options": {
          "description": "Advanced use case. A JSON array of volume mount objects.",
          "override": {
            "type": "notallowed"
          },
          "displayMetadata": {
            "section": "Storage",
            "weight": "650"
          }
        }
      }
    ],
    "sharing": {
      "shareMode": "None"
    },
    "output": [
      {
        "name": "Create Private Key File",
        "options": {
          "displayMetadata": {
            "label": "Create Private Key File",
            "valueType": "text",
            "weight": null
          }
        }
      },
      {
        "name": "SSH Command",
        "options": {
          "displayMetadata": {
            "label": "SSH Command",
            "valueType": "text",
            "weight": null
          }
        }
      }
    ],
    "systemCatalog": true,
    "computeType": "devpods"
  },
  "status": {
    "entityOverrides": [
      {
        "variables": [
          {
            "name": "Pod Image",
            "valueType": "text",
            "value": "registry.dev.rafay-edge.net/ubuntu-24-04-ssh-pod:v1",
            "options": {
              "description": "Container image to use for the pod.",
              "required": true,
              "override": {
                "type": "allowed"
              },
              "displayMetadata": {
                "alias": "Pod Image",
                "dropdownValues": [
                  {
                    "label": "Ubuntu 22-04",
                    "value": "registry.dev.rafay-edge.net/ubuntu-22-04-ssh-pod:v1"
                  },
                  {
                    "label": "Ubuntu 24-04",
                    "value": "registry.dev.rafay-edge.net/ubuntu-24-04-ssh-pod:v1"
                  },
                  {
                    "label": "Pytorch-2.1 CUDA11.8",
                    "value": "registry.dev.rafay-edge.net/dev/pytorch-2.1-ubuntu-22-04-ssh:20250804221258"
                  },
                  {
                    "label": "Pytorch-2.2 CUDA 12.1",
                    "value": "registry.dev.rafay-edge.net/dev/pytorch-2.2-ubuntu-22-04-ssh:20250805041333"
                  },
                  {
                    "label": "Pytorch-2.4 CUDA 12.4",
                    "value": "registry.dev.rafay-edge.net/dev/pytorch-2-4-ubuntu-24-04-ssh:20250731185301"
                  },
                  {
                    "label": "Pytorch-2.7 CUDA 12.8",
                    "value": "repo.dev.rafay-edge.net/dev/pytorch-2.7-ubuntu-22-04-ssh:20250805015309"
                  }
                ],
                "section": "Container Configuration",
                "tooltip": "Image must be accessible from the cluster (public or via registry credentials).",
                "type": "dropdown",
                "weight": "500"
              }
            }
          },
          {
            "name": "Autogenerate SSH Key",
            "valueType": "text",
            "value": "true",
            "options": {
              "description": "Auto-generate SSH key if not provided. Set to 'true' or 'false'.",
              "override": {
                "type": "allowed"
              },
              "displayMetadata": {
                "alias": "Autogenerated SSH Key",
                "radioOptions": [
                  {
                    "label": "Yes",
                    "value": "true"
                  },
                  {
                    "label": "No",
                    "value": "false"
                  }
                ],
                "section": "SSH Access",
                "type": "radio",
                "weight": "310"
              }
            }
          },
          {
            "name": "CPU",
            "valueType": "text",
            "value": "500",
            "options": {
              "description": "Requested CPU resources for the pod in millicores (m).",
              "override": {
                "type": "allowed"
              },
              "displayMetadata": {
                "dropdownValues": [
                  {
                    "label": "500 Mi",
                    "text": "",
                    "value": "500"
                  },
                  {
                    "label": "1000 Mi",
                    "text": "",
                    "value": "1000"
                  },
                  {
                    "label": "2000 Mi",
                    "text": "",
                    "value": "2000"
                  }
                ],
                "section": "Pod Resources",
                "type": "dropdown",
                "weight": "400"
              }
            }
          },
          {
            "name": "KeyY",
            "valueType": "text",
            "value": "2000",
            "options": {
              "description": "Freeform variable Y.",
              "override": {
                "type": "allowed"
              },
              "displayMetadata": {
                "alias": "GPU Fraction",
                "dropdownValues": [
                  {
                    "label": "2GB",
                    "text": "",
                    "value": "2000"
                  },
                  {
                    "label": "5GB",
                    "text": "",
                    "value": "5000"
                  },
                  {
                    "label": "10GB",
                    "text": "",
                    "value": "10000"
                  },
                  {
                    "label": "15GB",
                    "text": "",
                    "value": "15000"
                  },
                  {
                    "label": "20GB",
                    "text": "",
                    "value": "20000"
                  }
                ],
                "extraDescription": "Enter the requested GPU Memory (e.g. 2000, 4000, 8000, 10000, ...) or Fractional GPU (e.g. 0.25, 0.5, ...) ",
                "section": "Pod Resources",
                "tooltip": "Enter the requested GPU Memory (e.g. 2000, 4000, 8000, 10000, ...) or Fractional GPU (e.g. 0.25, 0.5, ...) ",
                "type": "dropdown",
                "weight": "424"
              }
            }
          },
          {
            "name": "Memory",
            "valueType": "text",
            "value": "512",
            "options": {
              "description": "Requested memory resources for the pod in MiB.",
              "override": {
                "type": "allowed"
              },
              "displayMetadata": {
                "dropdownValues": [
                  {
                    "label": "512 MiB",
                    "text": "",
                    "value": "512"
                  },
                  {
                    "label": "1 GiB",
                    "text": "",
                    "value": "1024"
                  },
                  {
                    "label": "2 GiB",
                    "text": "",
                    "value": "2048"
                  }
                ],
                "section": "Pod Resources",
                "type": "dropdown",
                "weight": "410"
              }
            }
          },
          {
            "name": "Public Key",
            "valueType": "text",
            "options": {
              "description": "SSH public key to inject into the pod.",
              "override": {
                "type": "allowed"
              },
              "displayMetadata": {
                "alias": "SSH Public Key",
                "section": "SSH Access",
                "weight": "320"
              }
            }
          }
        ]
      }
    ],
    "globalSettings": {
      "billing": {},
      "quota": {}
    }
  }
}