The resource pool#
Compute resources available to canary are defined in the resource_pool configuration field. By default:
The resource pool is automatically generated based on a machine probe and consists of a single node with
NCPUs and 0 GPUsThe number of CPUs
Nis determined by a system probe[1]No other resource types are assumed to exist
To see the current resource pool, execute:
$ canary config show resource_pool
resource_pool:
additional_properties: {}
resources:
cpus:
- id: '0'
slots: 1
- id: '1'
slots: 1
gpus: []
Users have the flexibility to define the resource pool in a variety of ways using command line flags, configuration file, or a combination of both, depending on the specific requirements of their computing environment.
Note
Any resources other than
cpusandgpusmust be defined by the user.canaryassumes a default GPU count of 0