ContainerResourceRequirementsArgs

data class ContainerResourceRequirementsArgs(val cpu: Output<Double>? = null, val cpuLimit: Output<Double>? = null, val fpga: Output<Int>? = null, val gpu: Output<Int>? = null, val memoryInGB: Output<Double>? = null, val memoryInGBLimit: Output<Double>? = null) : ConvertibleToJava<ContainerResourceRequirementsArgs>

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

Constructors

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

Properties

Link copied to clipboard
val cpu: Output<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: Output<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: Output<Int>? = null

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

Link copied to clipboard
val gpu: Output<Int>? = null

The number of GPU cores in the container.

Link copied to clipboard
val memoryInGB: Output<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: Output<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/

Functions

Link copied to clipboard
open override fun toJava(): ContainerResourceRequirementsArgs