DCSCluster [infrastructure.cluster.x-k8s.io/v1beta1]
- 描述
- DCSCluster is the Schema for the dcsclusters API.
- 类型
object
规格
.spec
- 描述
- DCSClusterSpec defines the desired state of DCSCluster.
- 类型
object- 必填
controlPlaneLoadBalancercredentialSecretRefnetworkType
.spec.controlPlaneEndpoint
- 描述
- ControlPlaneEndpoint represents the endpoint used to communicate with the control plane.
- 类型
object- 必填
hostport
.spec.controlPlaneHA
- 描述
- ControlPlaneHA enables provider-managed DRS mutual-exclusion rules for control-plane VMs. The controller maintains the rule after VM URNs exist; DCS is responsible for executing DRS placement.
- 类型
object
.spec.controlPlaneLoadBalancer
- 类型
object- 必填
hostporttype
.spec.credentialSecretRef
- 描述
- CredentialSecretRef
- 类型
object
.spec.encryptionProviderConfigRef
- 描述
- EncryptionProviderConfigRef references a Secret containing a pre-existing encryption-provider.conf for the cluster. When set, the controller uses this config instead of generating a new random encryption key. Required for disaster recovery: the standby cluster must use the same encryption key as the primary cluster so that restored etcd data can be decrypted by the API server. The referenced Secret must contain a key "encryption-provider.conf".
- 类型
object
.status
- 描述
- DCSClusterStatus defines the observed state of DCSCluster.
- 类型
object
.status.conditions
- 描述
- Conditions provide observations of the operational state of a Cluster API resource.
- 类型
array
.status.conditions[]
- 描述
- Condition defines an observation of a Cluster API resource operational state.
- 类型
object- 必填
lastTransitionTimestatustype
.status.controlPlaneHA
- 描述
- ControlPlaneHA records the provider-managed DRS rule currently owned by this cluster. Members are a snapshot from the latest reconcile.
- 类型
object
.status.controlPlaneHA.members
- 描述
- Members is the latest control-plane VM membership snapshot.
- 类型
array
.status.controlPlaneHA.members[]
- 描述
- ControlPlaneHAMember records one control-plane VM included in the DRS rule.
- 类型
object
.status.failureDomains
- 描述
- FailureDomains is a slice of FailureDomains.
- 类型
object
API 端点
可用的 API 端点如下:
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/dcsclustersDELETE: delete collection of DCSClusterGET: list objects of kind DCSClusterPOST: create a new DCSCluster
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/dcsclusters/{name}DELETE: delete the specified DCSClusterGET: read the specified DCSClusterPATCH: partially update the specified DCSClusterPUT: replace the specified DCSCluster
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/dcsclusters/{name}/statusGET: read status of the specified DCSClusterPATCH: partially update status of the specified DCSClusterPUT: replace status of the specified DCSCluster
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/dcsclusters
- HTTP 方法
DELETE- 描述
- delete collection of DCSCluster
- HTTP 响应
- HTTP 方法
GET- 描述
- list objects of kind DCSCluster
- HTTP 响应
- HTTP 方法
POST- 描述
- create a new DCSCluster
- 查询参数
- 请求体参数
- HTTP 响应
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/dcsclusters/{name}
- HTTP 方法
DELETE- 描述
- delete the specified DCSCluster
- 查询参数
- HTTP 响应
- HTTP 方法
GET- 描述
- read the specified DCSCluster
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update the specified DCSCluster
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace the specified DCSCluster
- 查询参数
- 请求体参数
- HTTP 响应
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/dcsclusters/{name}/status
- HTTP 方法
GET- 描述
- read status of the specified DCSCluster
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update status of the specified DCSCluster
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace status of the specified DCSCluster
- 查询参数
- 请求体参数
- HTTP 响应