Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 15 additions & 10 deletions openapi/task_execution_service.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -610,10 +610,10 @@ components:
type: object
properties:
cpu_cores:
type: integer
description: Requested number of CPUs
format: int32
example: 4
type: number
description: Requested number of CPUs. MAY be a fractional value to indicate to a scheduling algorithm that one core can be allocated to multiple jobs. For example, a value of 0.25 indicates that up to 4 jobs may run in parallel on 1 core. A value of 1.25 means that up to 3 jobs can run on a 4 core system (4/1.25 ≈ 3). Processes sharing a core MUST have the same level of isolation (typically a container or VM) that they would normally have. Scheduling systems MAY allocate fractional CPU resources by setting quotas or scheduling weights. Scheduling systems that do not support fractional CPUs MAY round up the request to the next whole number.
format: double
example: 4.25
preemptible:
type: boolean
description: |-
Expand All @@ -624,14 +624,19 @@ components:
example: false
ram_gb:
type: number
description: Requested RAM required in gigabytes (GB)
format: double
example: 8
description: |-
Requested RAM required in gigabytes (GB)
(maybe fractional, but actual requested memory should
be rounded up to the next whole number of bytes)
format: float
example: 8.2
disk_gb:
type: number
description: Requested disk size in gigabytes (GB)
format: double
example: 40
description: |-
Requested disk size in gigabytes (GB)
(maybe fractional, but actual request disk should be rounded up)
format: float
example: 40.5
zones:
type: array
description: |-
Expand Down