LimitRange
LimitRange sets resource usage limits for each kind of resource in a Namespace.
Concept documentation for LimitRange
apiVersion: v1
import "k8s.io/api/core/v1"
LimitRange
LimitRange sets resource usage limits for each kind of resource in a Namespace.
| Field | Description |
|---|---|
apiVersionstring |
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
kindstring |
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
metadataObjectMeta |
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata |
specLimitRangeSpec |
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.
| Field | Description |
|---|---|
limits *LimitRangeItem array |
Limits is the list of LimitRangeItem objects that are enforced. |
LimitRangeList
LimitRangeList is a list of LimitRange items.
| Field | Description |
|---|---|
apiVersionstring |
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
items *LimitRange array |
Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
kindstring |
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
metadataListMeta |
Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
LimitRangeItem
LimitRangeItem defines a min/max usage limit for any resource that matches on kind.
| Field | Description |
|---|---|
defaultobject |
Default resource requirement limit value by resource name if resource limit is omitted. |
defaultRequestobject |
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted. |
maxobject |
Max usage constraints on this kind by resource name. |
maxLimitRequestRatioobject |
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. |
minobject |
Min usage constraints on this kind by resource name. |
type *string |
Type of resource that this limit applies to. |
© 2026 The Kubernetes Authors | Documentation Distributed under CC BY 4.0
Copyright © 2026 The Linux Foundation ®. All rights reserved.
https://kubernetes.io/docs/reference/kubernetes-api/core/limit-range-v1/