ArcDeploymentResourceRequirements interface

Kubernetes resource requirements for an Arc deployment replica. Specify either cpu and memory together, or gpu. GPU is supported only in limits, not requests.

Properties

cpu

Kubernetes CPU quantity string, for example 500m, 2, 4, or 8. Required with memory when specifying CPU and memory limits. Do not specify with gpu.

gpu

Kubernetes GPU quantity, for example 1, 2, or 5. Required when specifying GPU limits. Do not specify with cpu or memory.

memory

Kubernetes memory quantity string, for example 512Mi, 2Gi, or 16Gi. Required with cpu when specifying CPU and memory limits. Do not specify with gpu.

Property Details

cpu

Kubernetes CPU quantity string, for example 500m, 2, 4, or 8. Required with memory when specifying CPU and memory limits. Do not specify with gpu.

cpu?: string

Property Value

string

gpu

Kubernetes GPU quantity, for example 1, 2, or 5. Required when specifying GPU limits. Do not specify with cpu or memory.

gpu?: number

Property Value

number

memory

Kubernetes memory quantity string, for example 512Mi, 2Gi, or 16Gi. Required with cpu when specifying CPU and memory limits. Do not specify with gpu.

memory?: string

Property Value

string