package peloton.api.v1alpha.respool

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service ResourcePoolService

respool_svc.proto:115

ResourcePoolService defines the resource pool related methods such as create, get, delete and upgrade resource pools.

message ControllerLimit

respool.proto:134

The max limit of resources `CONTROLLER`(see TaskType) tasks can use in this resource pool. This is defined as a percentage of the resource pool's reservation. If undefined there is no maximum limit for controller tasks i.e. controller tasks will not be treated differently. For eg if the resource pool's reservation is defined as: cpu:100 mem:1000 disk:1000 gpu:10 And the ControllerLimit = 10 ,Then the maximum resources the controller tasks can use is 10% of the reservation, i.e. cpu:10 mem:100 disk:100 gpu:1

Used in: ResourcePoolSpec

enum ReservationType

respool.proto:52

ReservationType indicates reservation type for the resourcepool

Used in: ResourceSpec

message ResourcePoolInfo

respool.proto:172

Used in: GetResourcePoolResponse, QueryResourcePoolsResponse

message ResourcePoolPath

respool.proto:26

A fully qualified path to a resource pool in a resource pool hierrarchy. The path to a resource pool can be defined as an absolute path, starting from the root node and separated by a slash. The resource hierarchy is anchored at a node called the root, designated by a slash "/". For the below resource hierarchy ; the "compute" resource pool would be desgignated by path: /infrastructure/compute root ├─ infrastructure │ └─ compute └─ marketplace

Used in: job.stateless.QuerySpec, LookupResourcePoolIDRequest, ResourcePoolInfo

message ResourcePoolSpec

respool.proto:82

Resource Pool configuration

Used in: CreateResourcePoolRequest, ResourcePoolInfo, UpdateResourcePoolRequest

message ResourceSpec

respool.proto:31

Resource configuration for a resource

Used in: ResourcePoolSpec

message ResourceUsage

respool.proto:159

Used in: ResourcePoolInfo

enum SchedulingPolicy

respool.proto:74

Scheduling policy for Resource Pool.

Used in: ResourcePoolSpec

message SlackLimit

respool.proto:155

The max limit of resources `REVOCABLE`(see TaskType) tasks can use in this resource pool. This is defined as a percentage of the resource pool's reservation. If undefined there is no maximum limit for revocable tasks i.e. revocable tasks will not be treated differently. For eg if the resource pool's reservation is defined as: cpu:100 mem:1000 disk:1000 And the SlackLimit = 10 ,Then the maximum resources the revocable tasks can use is 10% of the reservation, i.e. mem:100 disk:100 For cpu, it will use revocable resources.

Used in: ResourcePoolSpec