9.18. Requests

The requests object is used to inform Clara Deploy SDK of hardware minimum requirements operator or service require definitions.

9.18.1. Properties

9.18.1.1. cpu

type: integer

The number of logical CPU cores allotted for use by an operator.

Pipeline-jobs cannot begin processing until there are sufficient resources available to fulfill all resource requested by a pipeline’s operators.

Default value is 2.

Note: The default value can be modified by the system administrator.

9.18.1.2. gpu

type: integer

Minimum number of GPU devices the application needs exclusive control of.

If no GPU requests are made, the application will be granted no GPU resources.

Default value is 0.

9.18.1.3. memory

type: integer

The amount of system memory, in megabytes, allotted for use by an operator.

If a pipeline-job operator exceeds it’s system memory limit, it will be terminated and will result in a failed pipeline-job.

Pipeline-jobs cannot begin processing until there are sufficient resources available to fulfill all resource requested by a pipeline’s operators.

Default value is 1024 (1GB).

Note: The default value can modified by the system administrator.