⎈ k8s knowledge compiler

LimitRange [page]deterministic

LimitRange sets resource usage limits for each kind of resource in a Namespace.

reference

`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>&nbsp;<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>&nbsp;<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)

Sources

reference/kubernetes-api/core/limit-range-v1.md · docLimitRange

Related (17)

part_of LimitRange {#LimitRange}describes conf=1
part_of LimitRangeSpec {#LimitRangeSpec}describes conf=1
part_of LimitRangeList {#LimitRangeList}describes conf=1
part_of LimitRangeItem {#LimitRangeItem}describes conf=1
part_of Operations {#Operations}describes conf=1
part_of `post` Createdescribes conf=1
part_of `patch` Patchdescribes conf=1
part_of `put` Replacedescribes conf=1
part_of `delete` Deletedescribes conf=1
part_of `delete` Delete Collectiondescribes conf=1
part_of `get` Readdescribes conf=1
part_of `get` Listdescribes conf=1
part_of `get` List All Namespacesdescribes conf=1
part_of `get` Watchdescribes conf=1
part_of `get` Watch Listdescribes conf=1
part_of `get` Watch List All Namespacesdescribes conf=1
api_for LimitRangedocuments API object conf=1

← all Docs