VSphereMachineConfigPool [infrastructure.cluster.x-k8s.io/v1beta1]
- 描述
- VSphereMachineConfigPool is the Schema for the vspheremachineconfigpools API.
- 类型
object
规格
.spec
- 描述
- VSphereMachineConfigPoolSpec defines the desired state of VSphereMachineConfigPool.
- 类型
object- 必填
clusterRefconfigs
.spec.clusterRef
- 描述
- ClusterRef references the CAPI Cluster (in the same namespace) whose VSphereCluster provides vCenter server, thumbprint, and credential chain (IdentityRef) for this pool's vCenter operations (e.g. disk reclaim). Required. Can only be changed when consumerRef is nil. The pool will not reconcile until the referenced Cluster and its VSphereCluster infrastructure are available.
- 类型
object
.spec.configs
- 描述
- Configs is the list of pre-defined machine configuration slots.
- 类型
array
.spec.configs[]
- 描述
- MachineConfigSlot defines a single machine configuration slot in the pool.
- 类型
object- 必填
hostnamenetwork
.spec.configs[].ephemeralDisks
- 描述
- EphemeralDisks are non-persistent data disks. Unlike PersistentDisks they are created fresh (as empty disks) whenever the slot's VM is (re)created and deleted together with the VM: they do not participate in detach preservation, reclaim, or slot-release gating. Their SCSI unit number is assigned by the controller at clone time and observed in status.ephemeralDiskStatuses; it is not user-declared.
- 类型
array
.spec.configs[].ephemeralDisks[]
- 描述
- EphemeralDisk defines a non-persistent data disk that is created empty with the slot's VM and deleted together with it. It mirrors the guest-facing fields of PersistentDisk (size, placement, mount, format) but omits all persistence semantics: there is no UnitNumber spec field (the SCSI unit is controller-assigned at clone time and observed in status.ephemeralDiskStatuses), no VolumePath/DiskUUID backfill (the backing vmdk is always newly created), and no WipeFilesystem (a fresh disk is always empty and formatted from scratch).
- 类型
object- 必填
namesizeGiB
.spec.configs[].ephemeralDisks[].mountOptions
- 描述
- MountOptions for the filesystem mount.
- 类型
array
.spec.configs[].ephemeralDisks[].mountOptions[]
- 类型
string
.spec.configs[].network
- 描述
- Network describes the primary and additional network configurations for this slot.
- 类型
object- 必填
primary
.spec.configs[].network.additional
- 描述
- Additional are the remaining network configurations attached after the primary device.
- 类型
array
.spec.configs[].network.additional[]
- 描述
- NetworkConfig defines the network configuration for a slot device.
- 类型
object- 必填
networkName
.spec.configs[].network.additional[].dns
- 描述
- DNS nameservers
- 类型
array
.spec.configs[].network.additional[].dns[]
- 类型
string
.spec.configs[].network.primary
- 描述
- Primary is the network configuration used for kubelet node IP registration.
- 类型
object- 必填
networkName
.spec.configs[].network.primary.dns
- 描述
- DNS nameservers
- 类型
array
.spec.configs[].network.primary.dns[]
- 类型
string
.spec.configs[].persistentDisks
- 描述
- PersistentDisks that survive VM deletion.
- 类型
array
.spec.configs[].persistentDisks[]
- 描述
- PersistentDisk defines a disk that survives VM deletion.
- 类型
object- 必填
namesizeGiB
.spec.configs[].persistentDisks[].mountOptions
- 描述
- MountOptions for the filesystem mount.
- 类型
array
.spec.configs[].persistentDisks[].mountOptions[]
- 类型
string
.status
- 描述
- VSphereMachineConfigPoolStatus defines the observed state of VSphereMachineConfigPool.
- 类型
object
.status.conditions
- 描述
- Conditions defines current state of the machine config pool.
- 类型
array
.status.conditions[]
- 描述
- Condition defines an observation of a Cluster API resource operational state.
- 类型
object- 必填
lastTransitionTimestatustype
.status.configStatuses
- 描述
- ConfigStatuses tracks the state of each slot.
- 类型
array
.status.configStatuses[]
- 描述
- MachineConfigSlotStatus tracks the state of a single slot.
- 类型
object- 必填
hostnamestate
.status.configStatuses[].machineRef
- 描述
- MachineRef is the reference to the Machine currently using this slot.
- 类型
object
.status.configStatuses[].reclaimStatus
- 描述
- ReclaimStatus tracks asynchronous reclaim progress for this slot.
- 类型
object
.status.consumerRef
- 描述
- ConsumerRef is the workload controller (KubeadmControlPlane or MachineDeployment) currently bound to this pool. Set automatically by the controller when a machine allocates a slot. Cleared when the pool becomes fully reusable.
- 类型
object
.status.ephemeralDiskStatuses
- 描述
- EphemeralDiskStatuses records the controller-observed SCSI unit number of each non-persistent disk, keyed by (hostname, disk name). The unit is assigned at clone time and reused (hydrated back onto the in-memory slot) on the next reconcile so the guest disk table can address the disk. Unlike PersistentDiskStatuses this carries no VolumePath/DiskUUID/Phase: ephemeral disks are recreated with the VM and never reclaimed.
- 类型
array
.status.ephemeralDiskStatuses[]
- 描述
- EphemeralDiskStatus records the controller-observed SCSI unit number of a single non-persistent disk, keyed by (Hostname, Name). It deliberately omits VolumePath/DiskUUID/Phase: an ephemeral disk's backing vmdk is always newly created and deleted with the VM, so there is nothing to reclaim and no lifecycle to track. The recorded UnitNumber is hydrated back onto the in-memory slot each reconcile so the guest disk table can address the disk.
- 类型
object- 必填
hostnamename
.status.persistentDiskStatuses
- 描述
- PersistentDiskStatuses tracks the observed state of each persistent disk, keyed by (hostname, disk name). The controller backfills the vmdk path, disk UUID, and actually-assigned SCSI unit here instead of writing them back onto spec, and drives reclaim through the per-disk Phase.
- 类型
array
.status.persistentDiskStatuses[]
- 描述
- PersistentDiskStatus tracks the observed state of a single persistent disk. It replaces the controller-backfilled VolumePath/DiskUUID on spec and the per-slot ReclaimStatus, keyed by (Hostname, Name).
- 类型
object- 必填
hostnamename
.status.v1beta2
- 描述
- v1beta2 groups all the fields that will be added or modified in VSphereMachineConfigPool's status with the V1Beta2 version.
- 类型
object
.status.v1beta2.conditions
- 描述
- conditions represents the observations of a VSphereMachineConfigPool's current state. Known condition types are Ready, MembersValid, MembersUnique, SlotAvailable, PersistentDisksReady, ClusterRefReady and VCenterAvailable.
- 类型
array
.status.v1beta2.conditions[]
- 描述
- Condition contains details for one aspect of the current state of this API Resource.
- 类型
object- 必填
lastTransitionTimemessagereasonstatustype
API 端点
可用的 API 端点如下:
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/vspheremachineconfigpoolsDELETE: delete collection of VSphereMachineConfigPoolGET: list objects of kind VSphereMachineConfigPoolPOST: create a new VSphereMachineConfigPool
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/vspheremachineconfigpools/{name}DELETE: delete the specified VSphereMachineConfigPoolGET: read the specified VSphereMachineConfigPoolPATCH: partially update the specified VSphereMachineConfigPoolPUT: replace the specified VSphereMachineConfigPool
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/vspheremachineconfigpools/{name}/statusGET: read status of the specified VSphereMachineConfigPoolPATCH: partially update status of the specified VSphereMachineConfigPoolPUT: replace status of the specified VSphereMachineConfigPool
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/vspheremachineconfigpools
- HTTP 方法
DELETE- 描述
- delete collection of VSphereMachineConfigPool
- HTTP 响应
- HTTP 方法
GET- 描述
- list objects of kind VSphereMachineConfigPool
- HTTP 响应
- HTTP 方法
POST- 描述
- create a new VSphereMachineConfigPool
- 查询参数
- 请求体参数
- HTTP 响应
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/vspheremachineconfigpools/{name}
- HTTP 方法
DELETE- 描述
- delete the specified VSphereMachineConfigPool
- 查询参数
- HTTP 响应
- HTTP 方法
GET- 描述
- read the specified VSphereMachineConfigPool
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update the specified VSphereMachineConfigPool
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace the specified VSphereMachineConfigPool
- 查询参数
- 请求体参数
- HTTP 响应
/apis/infrastructure.cluster.x-k8s.io/v1beta1/namespaces/{namespace}/vspheremachineconfigpools/{name}/status
- HTTP 方法
GET- 描述
- read status of the specified VSphereMachineConfigPool
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update status of the specified VSphereMachineConfigPool
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace status of the specified VSphereMachineConfigPool
- 查询参数
- 请求体参数
- HTTP 响应