-
Notifications
You must be signed in to change notification settings - Fork 306
✨ Support Node Auto Placement and Node AF/AAF #3655
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
- Bump VMOP including Node AF/AAF support - Add NodeAutoPlacement Feature Gate (cherry picked from commit 700c8ae)
(cherry picked from commit cfeb862)
Removes the extra cases for VMG creation, such that VMG is created for: 1. Multiple zones, multiple MDs with no failureDomain 2. Multiple zones, multiple MDs with failureDomain 3. Single zone, existing cluster with no failureDomain MDs Signed-off-by: Sagar Muchhal <sagar.muchhal@broadcom.com>
- Updates VMOP API dependency Misc VMG fixes - Use namingStrategy to calculate VM names - Use MachineDeployment names for VMG placement label - Includes all machinedeployments to generate node-pool -> zone mapping Fixes VMG webhook validation error - Adds cluster-name label to Af/AAF spec - re-adds zone topology key back to anti-aff spec Signed-off-by: Sagar Muchhal <sagar.muchhal@broadcom.com>
Signed-off-by: Sagar Muchhal <sagar.muchhal@broadcom.com>
Signed-off-by: Sagar Muchhal <sagar.muchhal@broadcom.com>
…gs#71) * Refine VMG controller when generate per-MD zone labels - Skip legacy already-placed VM which do not have placement info - Skip VM which do not have zone info * Apply suggestions from code review --------- Co-authored-by: Sagar Muchhal <sagar.muchhal@broadcom.com>
- Sync VSphereMachines during day-2 operations in VMG controller - Only wait for all intended VSphereMachines during initial Cluster creation - Use annotations in VMG for per-md-zone info Signed-off-by: Gong Zhang <gong.zhang@broadcom.com>
- Add VMG recociler unit test - Bump VMOP due to API change - Filter out VSphereMachine event except create/delete events Signed-off-by: Gong Zhang <gong.zhang@broadcom.com>
Signed-off-by: Gong Zhang <gong.zhang@broadcom.com>
Signed-off-by: Gong Zhang <gong.zhang@broadcom.com>
1160ce9 to
1cd61f9
Compare
|
/test ? |
|
@zhanggbj: The following commands are available to trigger required jobs: The following commands are available to trigger optional jobs: Use In response to this:
Instructions 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. |
|
/test pull-cluster-api-provider-vsphere-e2e-govmomi-blocking-main |
22604bf to
7c7c1a7
Compare
- Refine VMG controller watch - Handle race conditions in VMG controller by gating member update - Refine data struct for VM Affinity config - Refine UT - Refine naming, logging, godoc - Miscellaneous Signed-off-by: Gong Zhang <gong.zhang@broadcom.com>
ea432ed to
dc441f6
Compare
Signed-off-by: Gong Zhang <gong.zhang@broadcom.com>
zhanggbj
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All comments are addressed, including the ones missed by mistake last time.
8dabe39 to
19ebccb
Compare
Signed-off-by: Gong Zhang <gong.zhang@broadcom.com>
19ebccb to
b981168
Compare
|
/test pull-cluster-api-provider-vsphere-e2e-vcsim-supervisor-main |
42a6d73 to
3ed2e93
Compare
|
/test pull-cluster-api-provider-vsphere-e2e-govmomi-blocking-main |
|
Hey @fabriziopandini @sbueringer , For the concern about race conditions, I have implemented checks to mitigate race conditions during initial and post-placement, and also have unit teststo cover the scenarios. |
3ed2e93 to
9b1754a
Compare
|
Pushed a small change and checking UT failures. |
Signed-off-by: Gong Zhang <gong.zhang@broadcom.com>
9b1754a to
2ac47d4
Compare
|
/test pull-cluster-api-provider-vsphere-e2e-supervisor-blocking-main |
|
/test pull-cluster-api-provider-vsphere-e2e-govmomi-blocking-main |
Since Encryption Class requires API in this newer version, bump vm-operator package Signed-off-by: Gong Zhang <gong.zhang@broadcom.com>
fd72f09 to
c41abeb
Compare
Signed-off-by: Gong Zhang <gong.zhang@broadcom.com>
Signed-off-by: Gong Zhang <gong.zhang@broadcom.com>
b8c569e to
08b8304
Compare
What this PR does / why we need it:
Support Node Auto Placement and Node AF/AAF
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #