2022-11-10 10:46:44 -05:00
|
|
|
- variable: resources
|
2022-08-08 17:25:02 -04:00
|
|
|
group: Resources and Devices
|
2022-11-10 10:46:44 -05:00
|
|
|
label: "Resource Limits"
|
2021-09-26 14:44:02 -04:00
|
|
|
schema:
|
2022-11-10 10:46:44 -05:00
|
|
|
additional_attrs: true
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: limits
|
|
|
|
label: Advanced Limit Resource Consumption
|
2021-09-26 14:44:02 -04:00
|
|
|
schema:
|
2022-01-20 19:35:59 -05:00
|
|
|
additional_attrs: true
|
2021-09-26 14:44:02 -04:00
|
|
|
type: dict
|
|
|
|
attrs:
|
2022-11-10 10:46:44 -05:00
|
|
|
- variable: cpu
|
|
|
|
label: CPU
|
2023-06-23 02:53:11 -04:00
|
|
|
description: "1000m means 1 hyperthread. Detailed info: https://truecharts.org/manual/SCALE/validation"
|
2021-09-26 14:44:02 -04:00
|
|
|
schema:
|
2022-11-10 10:46:44 -05:00
|
|
|
type: string
|
|
|
|
default: 4000m
|
|
|
|
valid_chars: '^(?!^0(\.0|m|)$)([0-9]+)(\.[0-9]|m?)$'
|
|
|
|
- variable: memory
|
|
|
|
label: RAM
|
2023-06-23 02:53:11 -04:00
|
|
|
description: "1Gi means 1 Gibibyte RAM. Detailed info: https://truecharts.org/manual/SCALE/validation"
|
2021-09-26 14:44:02 -04:00
|
|
|
schema:
|
2022-11-10 10:46:44 -05:00
|
|
|
type: string
|
|
|
|
default: 8Gi
|
|
|
|
valid_chars: '^(?!^0(e[0-9]|[EPTGMK]i?|)$)([0-9]+)(|[EPTGMK]i?|e[0-9]+)$'
|
2024-02-24 08:37:18 -05:00
|
|
|
- variable: 'gpu.intel.com/i915'
|
2024-02-15 13:37:04 -05:00
|
|
|
label: Add Intel i915 GPUs
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 0
|
|
|
|
- variable: 'nvidia.com/gpu'
|
|
|
|
label: Add NVIDIA GPUs (Experimental)
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 0
|
|
|
|
- variable: 'amd.com/gpu'
|
|
|
|
label: Add AMD GPUs
|
|
|
|
schema:
|
|
|
|
type: int
|
|
|
|
default: 0
|
2022-11-10 10:46:44 -05:00
|
|
|
- variable: requests
|
|
|
|
label: "Minimum Resources Required (request)"
|
|
|
|
schema:
|
|
|
|
additional_attrs: true
|
|
|
|
type: dict
|
|
|
|
hidden: true
|
|
|
|
attrs:
|
|
|
|
- variable: cpu
|
|
|
|
label: CPU
|
2023-06-23 02:53:11 -04:00
|
|
|
description: "1000m means 1 hyperthread. Detailed info: https://truecharts.org/manual/SCALE/validation"
|
2022-11-10 10:46:44 -05:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: 10m
|
|
|
|
hidden: true
|
|
|
|
valid_chars: '^(?!^0(\.0|m|)$)([0-9]+)(\.[0-9]|m?)$'
|
|
|
|
- variable: memory
|
|
|
|
label: "RAM"
|
2023-06-23 02:53:11 -04:00
|
|
|
description: "1Gi means 1 Gibibyte RAM. Detailed info: https://truecharts.org/manual/SCALE/validation"
|
2022-11-10 10:46:44 -05:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: 50Mi
|
|
|
|
hidden: true
|
|
|
|
valid_chars: '^(?!^0(e[0-9]|[EPTGMK]i?|)$)([0-9]+)(|[EPTGMK]i?|e[0-9]+)$'
|
2021-10-04 07:46:38 -04:00
|
|
|
- variable: deviceList
|
2022-08-08 17:25:02 -04:00
|
|
|
label: Mount USB Devices
|
|
|
|
group: Resources and Devices
|
2021-10-04 07:46:38 -04:00
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
default: []
|
|
|
|
items:
|
|
|
|
- variable: deviceListEntry
|
2022-08-08 17:25:02 -04:00
|
|
|
label: Device
|
2021-10-04 07:46:38 -04:00
|
|
|
schema:
|
2022-01-20 19:35:59 -05:00
|
|
|
additional_attrs: true
|
2021-10-04 07:46:38 -04:00
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: enabled
|
2022-08-08 17:25:02 -04:00
|
|
|
label: Enable the Storage
|
2021-10-04 07:46:38 -04:00
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: true
|
|
|
|
- variable: type
|
2022-08-08 17:25:02 -04:00
|
|
|
label: (Advanced) Type of Storage
|
|
|
|
description: Sets the persistence type
|
2021-10-04 07:46:38 -04:00
|
|
|
schema:
|
|
|
|
type: string
|
2023-04-13 04:45:41 -04:00
|
|
|
default: device
|
2021-10-04 07:46:38 -04:00
|
|
|
hidden: true
|
|
|
|
- variable: readOnly
|
2022-08-08 17:25:02 -04:00
|
|
|
label: readOnly
|
2021-10-04 07:46:38 -04:00
|
|
|
schema:
|
|
|
|
type: boolean
|
|
|
|
default: false
|
|
|
|
- variable: hostPath
|
2022-08-08 17:25:02 -04:00
|
|
|
label: Host Device Path
|
|
|
|
description: Path to the device on the host system
|
2021-10-04 07:46:38 -04:00
|
|
|
schema:
|
|
|
|
type: path
|
|
|
|
- variable: mountPath
|
2022-08-08 17:25:02 -04:00
|
|
|
label: Container Device Path
|
|
|
|
description: Path inside the container the device is mounted
|
2021-10-04 07:46:38 -04:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "/dev/ttyACM0"
|