ClusterResourceSet [addons.cluster.x-k8s.io/v1beta1]
- 描述
- ClusterResourceSet is the Schema for the clusterresourcesets API. For advanced use cases an add-on provider should be used instead.
- 类型
object
规格
.spec
- 描述
- spec is the desired state of ClusterResourceSet.
- 类型
object- 必填
clusterSelector
.spec.clusterSelector
- 描述
- clusterSelector is the label selector for Clusters. The Clusters that are selected by this will be the ones affected by this ClusterResourceSet. It must match the Cluster labels. This field is immutable. Label selector cannot be empty.
- 类型
object
.spec.clusterSelector.matchExpressions
- 描述
- matchExpressions is a list of label selector requirements. The requirements are ANDed.
- 类型
array
.spec.clusterSelector.matchExpressions[]
- 描述
- A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- 类型
object- 必填
keyoperator
.spec.clusterSelector.matchExpressions[].values
- 描述
- values is 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.clusterSelector.matchExpressions[].values[]
- 类型
string
.spec.clusterSelector.matchLabels
- 描述
- matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- 类型
object
.spec.resources
- 描述
- resources is a list of Secrets/ConfigMaps where each contains 1 or more resources to be applied to remote clusters.
- 类型
array
.spec.resources[]
- 描述
- ResourceRef specifies a resource.
- 类型
object- 必填
kindname
.status
- 描述
- status is the observed state of ClusterResourceSet.
- 类型
object
.status.conditions
- 描述
- conditions defines current state of the ClusterResourceSet.
- 类型
array
.status.conditions[]
- 描述
- Condition defines an observation of a Cluster API resource operational state.
- 类型
object- 必填
lastTransitionTimestatustype
.status.v1beta2
- 描述
- v1beta2 groups all the fields that will be added or modified in ClusterResourceSet's status with the V1Beta2 version.
- 类型
object
.status.v1beta2.conditions
- 描述
- conditions represents the observations of a ClusterResourceSet's current state. Known condition types are ResourceSetApplied, Deleting.
- 类型
array
.status.v1beta2.conditions[]
- 描述
- Condition contains details for one aspect of the current state of this API Resource.
- 类型
object- 必填
lastTransitionTimemessagereasonstatustype
API 端点
可用的 API 端点如下:
/apis/addons.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/clusterresourcesetsDELETE: delete collection of ClusterResourceSetGET: list objects of kind ClusterResourceSetPOST: create a new ClusterResourceSet
/apis/addons.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/clusterresourcesets/{name}DELETE: delete the specified ClusterResourceSetGET: read the specified ClusterResourceSetPATCH: partially update the specified ClusterResourceSetPUT: replace the specified ClusterResourceSet
/apis/addons.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/clusterresourcesets/{name}/statusGET: read status of the specified ClusterResourceSetPATCH: partially update status of the specified ClusterResourceSetPUT: replace status of the specified ClusterResourceSet
/apis/addons.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/clusterresourcesets
- HTTP 方法
DELETE- 描述
- delete collection of ClusterResourceSet
- HTTP 响应
- HTTP 方法
GET- 描述
- list objects of kind ClusterResourceSet
- HTTP 响应
- HTTP 方法
POST- 描述
- create a new ClusterResourceSet
- 查询参数
- 请求体参数
- HTTP 响应
/apis/addons.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/clusterresourcesets/{name}
- HTTP 方法
DELETE- 描述
- delete the specified ClusterResourceSet
- 查询参数
- HTTP 响应
- HTTP 方法
GET- 描述
- read the specified ClusterResourceSet
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update the specified ClusterResourceSet
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace the specified ClusterResourceSet
- 查询参数
- 请求体参数
- HTTP 响应
/apis/addons.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/clusterresourcesets/{name}/status
- HTTP 方法
GET- 描述
- read status of the specified ClusterResourceSet
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update status of the specified ClusterResourceSet
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace status of the specified ClusterResourceSet
- 查询参数
- 请求体参数
- HTTP 响应