ResourceQuota [v1]
- 描述
- ResourceQuota sets aggregate quota restrictions enforced per namespace
- 类型
object
规格
.spec
- 描述
- ResourceQuotaSpec defines the desired hard limits to enforce for Quota.
- 类型
object
.spec.hard
- 描述
- hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
- 类型
object
.spec.scopeSelector
- 描述
- A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements.
- 类型
object
.spec.scopeSelector.matchExpressions
- 描述
- A list of scope selector requirements by scope of the resources.
- 类型
array
.spec.scopeSelector.matchExpressions[]
- 描述
- A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.
- 类型
object- 必填
scopeNameoperator
.spec.scopeSelector.matchExpressions[].values
- 描述
- An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
- 类型
array
.spec.scopeSelector.matchExpressions[].values[]
- 类型
string
.spec.scopes
- 描述
- A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.
- 类型
array
.spec.scopes[]
- 类型
string
.status
- 描述
- ResourceQuotaStatus defines the enforced hard limits and observed use.
- 类型
object
.status.hard
- 描述
- Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
- 类型
object
.status.used
- 描述
- Used is the current observed total usage of the resource in the namespace.
- 类型
object
API 端点
可用的 API 端点如下:
/kubernetes/{cluster}/api/v1/namespaces/{namespace}/resourcequotasDELETE: delete collection of ResourceQuotaGET: list objects of kind ResourceQuotaPOST: create a new ResourceQuota
/kubernetes/{cluster}/api/v1/namespaces/{namespace}/resourcequotas/{name}DELETE: delete the specified ResourceQuotaGET: read the specified ResourceQuotaPATCH: partially update the specified ResourceQuotaPUT: replace the specified ResourceQuota
/kubernetes/{cluster}/api/v1/namespaces/{namespace}/resourcequotas/{name}/statusGET: read status of the specified ResourceQuotaPATCH: partially update status of the specified ResourceQuotaPUT: replace status of the specified ResourceQuota
/kubernetes/{cluster}/api/v1/namespaces/{namespace}/resourcequotas
- HTTP 方法
DELETE- 描述
- delete collection of ResourceQuota
- HTTP 响应
- HTTP 方法
GET- 描述
- list objects of kind ResourceQuota
- HTTP 响应
- HTTP 方法
POST- 描述
- create a new ResourceQuota
- 查询参数
- 请求体参数
- HTTP 响应
/kubernetes/{cluster}/api/v1/namespaces/{namespace}/resourcequotas/{name}
- HTTP 方法
DELETE- 描述
- delete the specified ResourceQuota
- 查询参数
- HTTP 响应
- HTTP 方法
GET- 描述
- read the specified ResourceQuota
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update the specified ResourceQuota
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace the specified ResourceQuota
- 查询参数
- 请求体参数
- HTTP 响应
/kubernetes/{cluster}/api/v1/namespaces/{namespace}/resourcequotas/{name}/status
- HTTP 方法
GET- 描述
- read status of the specified ResourceQuota
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update status of the specified ResourceQuota
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace status of the specified ResourceQuota
- 查询参数
- 请求体参数
- HTTP 响应