ClusterVersionShadow [config.alauda.io/v1]
- 类型
object
规格
.spec
- 描述
- spec is the desired state of the cluster upgrade.
- 类型
object
.spec.desiredUpdate
- 描述
- desiredUpdate is an optional field that indicates the desired value of the cluster version. Setting this value will trigger an upgrade (if the current version does not match the desired version).
- 类型
object
.status
- 描述
- status contains information about cluster upgrade.
- 类型
object
.status.availableUpdates
- 描述
- availableUpdates contains available updates. This list may be
- 类型
array
.status.availableUpdates[]
- 描述
- Release represents an ACP release image and associated metadata.
- 类型
object
.status.conditions
- 描述
- conditions provides information about the cluster version. The condition "Ready" is set to true if the desiredUpdate has been reached. The condition "Reconciling" is set to true if an update is being applied. The condition "Degraded" is set to true if an update is currently blocked by a temporary or permanent error. Conditions are only valid for the current desiredUpdate when metadata.generation is equal to status.generation.
- 类型
array
.status.conditions[]
- 描述
- Condition contains details for one aspect of the current state of this API Resource.
- 类型
object- 必填
lastTransitionTimemessagereasonstatustype
.status.current
- 描述
- current is the currently applied release version and image of the cluster.
- 类型
object
.status.desired
- 描述
- desired is the version that the cluster is reconciling towards. If the cluster is not yet fully initialized, desired will be set with the information available, which may be an image or a tag.
- 类型
object
.status.history
- 描述
- history contains a list of the most recent versions applied to the cluster. This value may be empty during cluster startup, and then will be updated when a new update is being applied. The newest update is first in the list and it is ordered by recency. Updates in the history have state Completed if the rollout completed - if an update was failing or halfway applied the state will be Partial. Only a limited amount of update history is preserved.
- 类型
array
.status.history[]
- 描述
- UpdateHistory is a single attempted update to the cluster.
- 类型
object- 必填
imagestartedTimestate
.status.preflight
- 描述
- preflight records information used during an in-progress upgrade to support deterministic preflight reentry behavior.
- 类型
object
.status.preflight.checks
- 描述
- checks records the latest evaluation result for each preflight check.
- 类型
array
.status.preflight.checks[]
- 描述
- PreflightCheckStatus records the latest result of a single preflight check.
- 类型
object- 必填
name
.status.stages
- 描述
- stages expose the execution stages and per-operation DAG for the current update. Stages are executed sequentially; operations within a stage form a DAG.
- 类型
array
.status.stages[]
- 类型
object- 必填
name
.status.stages[].operations
- 描述
- operations are the DAG nodes in this stage.
- 类型
array
.status.stages[].operations[]
- 类型
object- 必填
name
.status.stages[].operations[].dependsOn
- 描述
- dependsOn lists direct predecessor operation names within this stage.
- 类型
array
.status.stages[].operations[].dependsOn[]
- 类型
string
API 端点
可用的 API 端点如下:
/apis/config.alauda.io/v1/namespaces/{namespace}/clusterversionshadowsDELETE: delete collection of ClusterVersionShadowGET: list objects of kind ClusterVersionShadowPOST: create a new ClusterVersionShadow
/apis/config.alauda.io/v1/namespaces/{namespace}/clusterversionshadows/{name}DELETE: delete the specified ClusterVersionShadowGET: read the specified ClusterVersionShadowPATCH: partially update the specified ClusterVersionShadowPUT: replace the specified ClusterVersionShadow
/apis/config.alauda.io/v1/namespaces/{namespace}/clusterversionshadows/{name}/statusGET: read status of the specified ClusterVersionShadowPATCH: partially update status of the specified ClusterVersionShadowPUT: replace status of the specified ClusterVersionShadow
/apis/config.alauda.io/v1/namespaces/{namespace}/clusterversionshadows
- HTTP 方法
DELETE- 描述
- delete collection of ClusterVersionShadow
- HTTP 响应
- HTTP 方法
GET- 描述
- list objects of kind ClusterVersionShadow
- HTTP 响应
- HTTP 方法
POST- 描述
- create a new ClusterVersionShadow
- 查询参数
- 请求体参数
- HTTP 响应
/apis/config.alauda.io/v1/namespaces/{namespace}/clusterversionshadows/{name}
- HTTP 方法
DELETE- 描述
- delete the specified ClusterVersionShadow
- 查询参数
- HTTP 响应
- HTTP 方法
GET- 描述
- read the specified ClusterVersionShadow
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update the specified ClusterVersionShadow
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace the specified ClusterVersionShadow
- 查询参数
- 请求体参数
- HTTP 响应
/apis/config.alauda.io/v1/namespaces/{namespace}/clusterversionshadows/{name}/status
- HTTP 方法
GET- 描述
- read status of the specified ClusterVersionShadow
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update status of the specified ClusterVersionShadow
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace status of the specified ClusterVersionShadow
- 查询参数
- 请求体参数
- HTTP 响应