LimitRange core/v1
LimitRange sets resource usage limits for each kind of resource in a Namespace.
Fields
- apiVersion:
v1 - kind:
LimitRange - metadata (ObjectMeta)
-
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
- spec (LimitRangeSpec)
-
Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
LimitRangeSpec
LimitRangeSpec defines a min/max usage limit for resources that match on kind.
- limits ([]LimitRangeItem)
-
Limits is the list of LimitRangeItem objects that are enforced.
LimitRangeItem
LimitRangeItem defines a min/max usage limit for any resource that matches on kind.
- type (string)
-
Type of resource that this limit applies to.
- default (map[string]Quantity)
-
Default resource requirement limit value by resource name if resource limit is omitted.
- defaultRequest (map[string]Quantity)
-
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.
- max (map[string]Quantity)
-
Max usage constraints on this kind by resource name.
- maxLimitRequestRatio (map[string]Quantity)
-
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 (map[string]Quantity)
-
Min usage constraints on this kind by resource name.
LimitRangeList
LimitRangeList is a list of LimitRange items.
- apiVersion:
v1 - kind:
LimitRangeList - metadata (ListMeta)
-
Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
- items ([]LimitRange)
-
Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/