Description

AppliedClusterResourceQuota mirrors ClusterResourceQuota at a project scope, for projection into a project. It allows a project-admin to know which ClusterResourceQuotas are applied to his project and their associated usage.

Type

object

Required
  • metadata

  • spec

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

.spec

object

ClusterResourceQuotaSpec defines the desired quota restrictions

.status

object

ClusterResourceQuotaStatus defines the actual enforced quota and its current usage

.spec
Description

ClusterResourceQuotaSpec defines the desired quota restrictions

Type

object

Required
  • selector

  • quota

Property Type Description

quota

ResourceQuotaSpec core/v1

Quota defines the desired quota

selector

object

ClusterResourceQuotaSelector is used to select projects. At least one of LabelSelector or AnnotationSelector must present. If only one is present, it is the only selection criteria. If both are specified, the project must match both restrictions.

.spec.selector
Description

ClusterResourceQuotaSelector is used to select projects. At least one of LabelSelector or AnnotationSelector must present. If only one is present, it is the only selection criteria. If both are specified, the project must match both restrictions.

Type

object

Property Type Description

annotations

object (string)

AnnotationSelector is used to select projects by annotation.

labels

LabelSelector meta/v1

LabelSelector is used to select projects by label.

.status
Description

ClusterResourceQuotaStatus defines the actual enforced quota and its current usage

Type

object

Required
  • total

Property Type Description

namespaces

array

Namespaces slices the usage by project. This division allows for quick resolution of deletion reconciliation inside of a single project without requiring a recalculation across all projects. This can be used to pull the deltas for a given project.

namespaces[]

object

ResourceQuotaStatusByNamespace gives status for a particular project

total

ResourceQuotaStatus core/v1

Total defines the actual enforced quota and its current usage across all projects

.status.namespaces
Description

Namespaces slices the usage by project. This division allows for quick resolution of deletion reconciliation inside of a single project without requiring a recalculation across all projects. This can be used to pull the deltas for a given project.

Type

array

.status.namespaces[]
Description

ResourceQuotaStatusByNamespace gives status for a particular project

Type

object

Required
  • namespace

  • status

Property Type Description

namespace

string

Namespace the project this status applies to

status

ResourceQuotaStatus core/v1

Status indicates how many resources have been consumed by this project