ServiceTemplateSpecContainerResourcesArgs

data class ServiceTemplateSpecContainerResourcesArgs(val limits: Output<Map<String, String>>? = null, val requests: Output<Map<String, String>>? = null) : ConvertibleToJava<ServiceTemplateSpecContainerResourcesArgs>

Constructors

constructor(limits: Output<Map<String, String>>? = null, requests: Output<Map<String, String>>? = null)

Properties

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

Limits describes the maximum amount of compute resources allowed. 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 requests: Output<Map<String, String>>? = null

Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. 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

Functions

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