ServiceTemplateContainerResourcesArgs

data class ServiceTemplateContainerResourcesArgs(val cpuIdle: Output<Boolean>? = null, val limits: Output<Map<String, String>>? = null, val startupCpuBoost: Output<Boolean>? = null) : ConvertibleToJava<ServiceTemplateContainerResourcesArgs>

Constructors

Link copied to clipboard
constructor(cpuIdle: Output<Boolean>? = null, limits: Output<Map<String, String>>? = null, startupCpuBoost: Output<Boolean>? = null)

Properties

Link copied to clipboard
val cpuIdle: Output<Boolean>? = null

Determines whether CPU should be throttled or not outside of requests.

Link copied to clipboard
val limits: Output<Map<String, String>>? = null

Only memory and CPU are supported. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go

Link copied to clipboard
val startupCpuBoost: Output<Boolean>? = null

Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.

Functions

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