2021-10-04 11:46:38 +00:00
|
|
|
|
|
|
|
# Specify GPU configuration
|
|
|
|
- variable: scaleGPU
|
|
|
|
label: "GPU Configuration"
|
|
|
|
group: "Resources and Devices"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
$ref:
|
|
|
|
- "definitions/gpuConfiguration"
|
|
|
|
attrs: []
|
|
|
|
|
2021-09-26 18:44:02 +00:00
|
|
|
- variable: resources
|
|
|
|
group: "Resources and Devices"
|
|
|
|
label: ""
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: limits
|
|
|
|
label: "Advanced Limit Resource Consumption"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: cpu
|
|
|
|
label: "CPU"
|
|
|
|
schema:
|
|
|
|
type: string
|
2021-09-26 18:49:03 +00:00
|
|
|
default: "4000m"
|
2021-10-01 21:12:26 +00:00
|
|
|
valid_chars: '^(?!^0(\.0|m|)$)([0-9]+)(\.[0-9]|m?)$'
|
2021-09-26 18:44:02 +00:00
|
|
|
- variable: memory
|
|
|
|
label: "Memory RAM"
|
|
|
|
schema:
|
|
|
|
type: string
|
2021-09-26 18:49:03 +00:00
|
|
|
default: "8Gi"
|
2021-10-01 21:12:26 +00:00
|
|
|
valid_chars: '^(?!^0(e[0-9]|[EPTGMK]i?|)$)([0-9]+)(|[EPTGMK]i?|e[0-9]+)$'
|
2021-09-26 18:44:02 +00:00
|
|
|
- variable: requests
|
|
|
|
label: "Advanced Request minimum resources required"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: cpu
|
|
|
|
label: "CPU"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "10m"
|
2021-10-01 21:12:26 +00:00
|
|
|
valid_chars: '^(?!^0(\.0|m|)$)([0-9]+)(\.[0-9]|m?)$'
|
2021-09-26 18:44:02 +00:00
|
|
|
- variable: memory
|
|
|
|
label: "Memory RAM"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "50Mi"
|
2021-10-01 21:12:26 +00:00
|
|
|
valid_chars: '^(?!^0(e[0-9]|[EPTGMK]i?|)$)([0-9]+)(|[EPTGMK]i?|e[0-9]+)$'
|
2021-10-04 11:46:38 +00:00
|
|
|
|
|
|
|
- variable: deviceList
|
|
|
|
label: "Mount USB devices"
|
|
|
|
group: "Resources and Devices"
|
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: deviceListEntry
|
|
|
|
label: "Device"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: enabled
|
|
|
|
label: "Enable the storage"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: true
|
|
|
|
- variable: type
|
|
|
|
label: "(Advanced) Type of Storage"
|
|
|
|
description: "Sets the persistence type"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "hostPath"
|
|
|
|
hidden: true
|
|
|
|
- variable: readOnly
|
|
|
|
label: "readOnly"
|
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
- variable: hostPath
|
|
|
|
label: "Host Device Path"
|
|
|
|
description: "Path to the device on the host system"
|
|
|
|
schema:
|
|
|
|
type: path
|
|
|
|
- variable: mountPath
|
|
|
|
label: "Container Device Path"
|
|
|
|
description: "Path inside the container the device is mounted"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "/dev/ttyACM0"
|