ResourceRequestsArgs

data class ResourceRequestsArgs(val cpu: Output<Double>, val memoryInGB: Output<Double>) : ConvertibleToJava<ResourceRequestsArgs>

This type describes the requested resources for a given container. It describes the least amount of resources required for the container. A container can consume more than requested resources up to the specified limits before being restarted. Currently, the requested resources are treated as limits.

Constructors

Link copied to clipboard
constructor(cpu: Output<Double>, memoryInGB: Output<Double>)

Properties

Link copied to clipboard
val cpu: Output<Double>

Requested number of CPU cores. At present, only full cores are supported.

Link copied to clipboard
val memoryInGB: Output<Double>

The memory request in GB for this container.

Functions

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