Specifies the resource requirements for a container.
Properties
| Name | Type | Required | Description |
|---|---|---|---|
| cpu | number | ✅ | The number of CPU cores required by the container. Must be between 1 and 16. |
| gpuClasses | string[] | ✅ | A list of GPU class UUIDs required by the container. Can be null if no GPU is required. |
| memory | number | ✅ | The amount of memory (in MB) required by the container. Must be between 1024 MB and 61440 MB. |
| shmSize | number | ❌ | The size of the shared memory (/dev/shm) in MB. If not specified, defaults to 1024MB. |
| storageAmount | number | ❌ | The amount of storage (in bytes) required by the container. Must be between 1 GB (1073741824 bytes) and 250 GB (268435456000 bytes). |