-
Notifications
You must be signed in to change notification settings - Fork 131
Added VirtualCapacity field to MachineClass NodeTemplate #1024
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
Conversation
|
Successfully passed IT using |
takoverflow
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.
Some typos and missed changes, PTAL thanks.
| targetVirtualCapacity = v1.ResourceList{} | ||
| } | ||
|
|
||
| // Delete any keys that existed in the past but has been deleted now |
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.
| // Delete any keys that existed in the past but has been deleted now | |
| // Delete any keys that existed in the past but have been removed now |
Co-authored-by: Prashant Tak <[email protected]>
Simple Manual TestPre-requisiteYou have setup Patch a MachineClass and add an attribute to the nodeTemplate.virtualCapacityNow check affected node(s) of machine classThis is also added automatically by the Patch MachineClass and remove attribute from the nodeTemplate.virtualCapacityRe-check affected node(s) of machine classExtended resource should be removed from both |
aaronfern
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.
Changes look good!
lgtm from me in principle, pending #1024 (comment) gets resolved
aaronfern
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.
Thanks for the changes!
/lgtm
takoverflow
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.
LGTM!
|
IT also succeeded after latest changes and review comments |
* Added VirtualCapacity field to MachineClass NodeTemplate * Added more unit tests for SyncVirtualCapacity * enqueue machine when machineclass is updated * Update pkg/util/provider/machinecontroller/machine_util.go Co-authored-by: Prashant Tak <[email protected]> * fixed typo dependecies->dependencies * remove setup struct from SyncVirtualCapacity test * remov LastAppliedVirtualCapacityAnnotation if empty * resolved with changes from PR 1015 --------- Co-authored-by: Prashant Tak <[email protected]>
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes partially #955
Special notes for your reviewer:
Release note: