LimitRange [page]deterministic
LimitRange sets resource usage limits for each kind of resource in a Namespace.
`apiVersion: v1`
`import "k8s.io/api/core/v1"`
## LimitRange {#LimitRange}
LimitRange sets resource usage limits for each kind of resource in a Namespace.
<hr>
<table> <thead><tr><th>Field</th><th>Description</th></tr></thead> <tbody> <tr> <td><code>apiVersion</code><br/><em>string</em></td> <td>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</td> </tr> <tr> <td><code>kind</code><br/><em>string</em></td> <td>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</td> </tr> <tr> <td><code>metadata</code><br/><em><a href="">ObjectMeta</a></em></td> <td>Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata</td> </tr> <tr> <td><code>spec</code><br/><em><a href="">LimitRangeSpec</a></em></td> <td>Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status</td> </tr> </tbody> </table>
## LimitRangeSpec {#LimitRangeSpec}
LimitRangeSpec defines a min/max usage limit for resources that match on kind.
<hr>
<table> <thead><tr><th>Field</th><th>Description</th></tr></thead> <tbody> <tr> <td><code>limits</code> <strong>*</strong><br/><em><a href="">LimitRangeItem array</a></em></td> <td>Limits is the list of LimitRangeItem objects that are enforced.</td> </tr> </tbody> </table>
## LimitRangeList {#LimitRangeList}
LimitRangeList is a list of LimitRange items.
<hr>
<table> <thead><tr><th>Field</th><th>Description</th></tr></thead> <tbody> <tr> <td><code>apiVersion</code><br/><em>string</em></td> <td>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</td> </tr> <tr> <td><code>items</code> <strong>*</strong><br/><em><a href="">LimitRange array</a></em></td> <td>Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/</td> </tr> <tr> <td><code>kind</code><br/><em>string</em></td> <td>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</td> </tr> <tr> <td><code>metadata</code><br/><em><a href="">ListMeta</a></em></td> <td>Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds</td> </tr> </tbody> </table>
## LimitRangeItem {#LimitRangeItem}
LimitRangeItem defines a min/max usage limit for any resource that matches on kind.
<hr>
<table> <thead><tr><th>Field</th><th>Description</th></tr></thead> <tbody> <tr> <td><code>default</code><br/><em>object</em></td> <td>Default resource requirement limit value by resource name if resource limit is omitted.</td> </tr> <tr> <td><code>defaultRequest</code><br/><em>object</em></td> <td>DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.</td>
…(trimmed)