LimitRangeItem

case class LimitRangeItem(default: Optional[Map[String, Quantity]], defaultRequest: Optional[Map[String, Quantity]], max: Optional[Map[String, Quantity]], maxLimitRequestRatio: Optional[Map[String, Quantity]], min: Optional[Map[String, Quantity]], `type`: String)

LimitRangeItem defines a min/max usage limit for any resource that matches on kind.

Value Params
default

Default resource requirement limit value by resource name if resource limit is omitted.

defaultRequest

DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.

max

Max usage constraints on this kind by resource name.

maxLimitRequestRatio

MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.

min

Min usage constraints on this kind by resource name.

type

Type of resource that this limit applies to.

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def getDefault: IO[K8sFailure, Map[String, Quantity]]

Default resource requirement limit value by resource name if resource limit is omitted.

Default resource requirement limit value by resource name if resource limit is omitted.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

def getDefaultRequest: IO[K8sFailure, Map[String, Quantity]]

DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.

DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

def getMax: IO[K8sFailure, Map[String, Quantity]]

Max usage constraints on this kind by resource name.

Max usage constraints on this kind by resource name.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.

MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

def getMin: IO[K8sFailure, Map[String, Quantity]]

Min usage constraints on this kind by resource name.

Min usage constraints on this kind by resource name.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

def getType: IO[K8sFailure, String]

Type of resource that this limit applies to.

Type of resource that this limit applies to.

This effect always succeeds, it is safe to use the field type directly.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product