ServiceTemplateSpecContainerResources

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

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val limits: 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: 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