Repository navigation
Conversation
Signed-off-by: Allen Conlon <software@conlon.dev>
|
|
|
Welcome @a1994sc! |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @a1994sc. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Regular contributors should join the org to skip this step. Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
What this PR does / why we need it:
Adds a new optional
datastoreClusterfield toVirtualMachineCloneSpec(VSphereMachine/VSphereMachineTemplate/VSphereVM) and to theVSphereFailureDomaintopology, enabling VM placement via Storage DRS.When
datastoreClusteris set, CAPV asks the vCenter StorageResourceManager for a placement recommendation against the datastore cluster (StoragePod) and clones the VM onto the recommended datastore. This distributes VM disks across the datastores of the cluster instead of repeatedly landing on a single one.Details:
datastoreanddatastoreClusterare mutually exclusive, enforced via CEL validation on the CRDs.datastoreClusteroverrides (and clears) a machine-leveldatastore, mirroring the existingdatastoreoverride behavior.storagePolicyName, the SDRS-recommended datastore is validated against the storage policy, same as an explicitly configureddatastore. Note: SDRS picks the datastore without policy awareness, so a policy-incompatible recommendation fails the clone rather than falling back to another member datastore.VSphereDeploymentZonereconciliation validates that the referenced datastore cluster exists, surfacing a newDatastoreClusterNotFoundcondition reason.datastoreClusterset) is unchanged; users hitting VM disk placement isn't distributed across datastores when a datastore cluster is used #1226 opt in by settingdatastoreCluster.Which issue(s) this PR fixes:
Related to #1226
Release note: