8.17. Requests

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

8.17.1. Properties

8.17.1.1. cpu

type: integer

Minimum number of logical CPU cores the application needs exclusive access to.

If no CPU requests are made, the application will be granted 1 shared CPU resource.

The default value is 1.

8.17.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.

8.17.1.3. memory

type: integer

Minimum RAM, measured in megabytes, the application requires.

If no memory requests are made, the application will be granted the minimum allottable allocation of memory.

The default value is 512.