Description

ResourceQuota sets aggregate quota restrictions enforced per namespace

Type

object

Specification

Property Type Description

.apiVersion

string

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

.kind

string

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

.metadata

ObjectMeta meta/v1

Standard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

.spec

object

ResourceQuotaSpec defines the desired hard limits to enforce for Quota.

.status

object

ResourceQuotaStatus defines the enforced hard limits and observed use.

.spec
Description

ResourceQuotaSpec defines the desired hard limits to enforce for Quota.

Type

object

Property Type Description

hard

object (Quantity api/resource)

hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/

scopeSelector

ScopeSelector core/v1

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.

scopes

array (string)

A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.

.status
Description

ResourceQuotaStatus defines the enforced hard limits and observed use.

Type

object

Property Type Description

hard

object (Quantity api/resource)

Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/

used

object (Quantity api/resource)

Used is the current observed total usage of the resource in the namespace.