⎈ k8s knowledge compiler

ResourceQuota [page]deterministic

ResourceQuota sets aggregate quota restrictions enforced per namespace

reference

`apiVersion: v1`

`import "k8s.io/api/core/v1"`

## ResourceQuota {#ResourceQuota}

ResourceQuota sets aggregate quota restrictions enforced per 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="">ResourceQuotaSpec</a></em></td> <td>Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status</td> </tr> <tr> <td><code>status</code><br/><em><a href="">ResourceQuotaStatus</a></em></td> <td>Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status</td> </tr> </tbody> </table>

## ResourceQuotaSpec {#ResourceQuotaSpec}

ResourceQuotaSpec defines the desired hard limits to enforce for Quota.

<hr>

<table> <thead><tr><th>Field</th><th>Description</th></tr></thead> <tbody> <tr> <td><code>hard</code><br/><em>object</em></td> <td>hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/</td> </tr> <tr> <td><code>scopeSelector</code><br/><em><a href="">ScopeSelector</a></em></td> <td>scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched.</td> </tr> <tr> <td><code>scopes</code><br/><em>string array</em></td> <td>A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.</td> </tr> </tbody> </table>

## ResourceQuotaStatus {#ResourceQuotaStatus}

ResourceQuotaStatus defines the enforced hard limits and observed use.

<hr>

<table> <thead><tr><th>Field</th><th>Description</th></tr></thead> <tbody> <tr> <td><code>hard</code><br/><em>object</em></td> <td>Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/</td> </tr> <tr> <td><code>used</code><br/><em>object</em></td> <td>Used is the current observed total usage of the resource in the namespace.</td> </tr> </tbody> </table>

## ResourceQuotaList {#ResourceQuotaList}

ResourceQuotaList is a list of ResourceQuota 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 …(trimmed)

Sources

reference/kubernetes-api/core/resource-quota-v1.md · docResourceQuota

Related (22)

part_of ResourceQuota {#ResourceQuota}describes conf=1
part_of ResourceQuotaSpec {#ResourceQuotaSpec}describes conf=1
part_of ResourceQuotaStatus {#ResourceQuotaStatus}describes conf=1
part_of ResourceQuotaList {#ResourceQuotaList}describes conf=1
part_of ScopeSelector {#ScopeSelector}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
part_of `patch` Patch Statusdescribes conf=1
part_of `get` Read Statusdescribes conf=1
part_of `put` Replace Statusdescribes conf=1
api_for ResourceQuotadocuments API object conf=1

← all Docs