ContainerResourceRequirementsResponse

data class ContainerResourceRequirementsResponse(val cpu: Double? = null, val cpuLimit: Double? = null, val fpga: Int? = null, val gpu: Int? = null, val memoryInGB: Double? = null, val memoryInGBLimit: Double? = null)

The resource requirements for the container (cpu and memory).

Constructors

Link copied to clipboard
constructor(cpu: Double? = null, cpuLimit: Double? = null, fpga: Int? = null, gpu: Int? = null, memoryInGB: Double? = null, memoryInGBLimit: Double? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val cpu: Double? = null

The minimum amount of CPU cores to be used by the container. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/

Link copied to clipboard
val cpuLimit: Double? = null

The maximum amount of CPU cores allowed to be used by the container. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/

Link copied to clipboard
val fpga: Int? = null

The number of FPGA PCIE devices exposed to the container. Must be multiple of 2.

Link copied to clipboard
val gpu: Int? = null

The number of GPU cores in the container.

Link copied to clipboard
val memoryInGB: Double? = null

The minimum amount of memory (in GB) to be used by the container. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/

Link copied to clipboard
val memoryInGBLimit: Double? = null

The maximum amount of memory (in GB) allowed to be used by the container. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/