JobTemplateTemplateContainerResources

data class JobTemplateTemplateContainerResources(val limits: Map<String, String>? = null)

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

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

Only memory and CPU are supported. Use key cpu for CPU limit and memory for memory limit. 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