package peloton.api.v0.respool

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

service ResourceManager

respool.proto:213

* DEPRECATED by peloton.api.v0.respool.svc.ResourcePoolService Resource Manager service interface

service ResourcePoolService

respool_svc.proto:20

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

message ControllerLimit

respool.proto:150

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: ResourcePoolConfig

message CreateResponse.Error

respool.proto:289

Used in: CreateResponse

message DeleteResponse.Error

respool.proto:327

Used in: DeleteResponse

message GetResponse.Error

respool.proto:311

Used in: GetResponse

message InvalidResourcePoolConfig

respool.proto:241

DEPRECATED by google.rpc.ALREADY_EXISTS error

Used in: CreateResponse.Error, UpdateResponse.Error

message InvalidResourcePoolPath

respool.proto:259

DEPRECATED by google.rpc.INVALID_ARGUMENT error

Used in: LookupResponse.Error

message LookupResponse.Error

respool.proto:361

Used in: LookupResponse

message QueryResponse.Error

respool.proto:377

TODO add error types

Used in: QueryResponse

(message has no fields)

enum ReservationType

respool.proto:62

* ReservationType indicates reservation type for the resourcepool

Used in: ResourceConfig

message ResourceConfig

respool.proto:38

* Resource configuration for a resource

Used in: ResourcePoolConfig

message ResourcePoolAlreadyExists

respool.proto:235

DEPRECATED by google.rpc.ALREADY_EXISTS error

Used in: CreateResponse.Error

message ResourcePoolConfig

respool.proto:96

* Resource Pool configuration

Used in: CreateRequest, CreateResourcePoolRequest, ResourcePoolInfo, UpdateRequest, UpdateResourcePoolRequest

message ResourcePoolInfo

respool.proto:188

Used in: GetResourcePoolResponse, GetResponse, QueryResourcePoolsResponse, QueryResponse

message ResourcePoolIsBusy

respool.proto:265

DEPRECATED by google.rpc.FAILED_PRECONDITION error

Used in: DeleteResponse.Error

message ResourcePoolIsNotLeaf

respool.proto:271

DEPRECATED by google.rpc.INVALID_ARGUMENT error

Used in: DeleteResponse.Error

message ResourcePoolNotDeleted

respool.proto:277

DEPRECATED by google.rpc.INTERNAL error

Used in: DeleteResponse.Error

message ResourcePoolNotFound

respool.proto:247

DEPRECATED by google.rpc.NOT_FOUND error

Used in: GetResponse.Error, UpdateResponse.Error

message ResourcePoolPath

respool.proto:31

* 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.QuerySpec, job.svc.CreateJobRequest, DeleteRequest, InvalidResourcePoolPath, LookupRequest, LookupResourcePoolIDRequest, ResourcePoolInfo, ResourcePoolPathNotFound

message ResourcePoolPathNotFound

respool.proto:253

DEPRECATED by google.rpc.NOT_FOUND error

Used in: DeleteResponse.Error, LookupResponse.Error

message ResourceUsage

respool.proto:175

Used in: ResourcePoolInfo

enum SchedulingPolicy

respool.proto:86

* Scheduling policy for Resource Pool.

Used in: ResourcePoolConfig

message SlackLimit

respool.proto:171

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: ResourcePoolConfig

message UpdateResponse.Error

respool.proto:346

Used in: UpdateResponse