-
Notifications
You must be signed in to change notification settings - Fork 243
feat: add reserved memory field #1510
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
80e5a97 to
13bf428
Compare
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.
I think there is a mixup in rancher2/structure_machine_config_v2_harvester.go
| obj["memory_size"] = in.MemorySize | ||
| } | ||
|
|
||
| if len(in.DiskSize) > 0 { |
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.
Did you mean len(in.ReservedMemorySize) > 0?
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.
You're correct. Updated it. Thanks.
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
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.
This change looks good from a Terraform perspective.
How was it tested?
|
What version of Rancher or the provider is this targeting? |
|
Ignore the validate commit message error, it is from the branch update. |
|
@matttrach Thanks for the review. We may not merge it now. It's waiting for harvester/docker-machine-driver-harvester#75 and updating related driver in Rancher. |
|
Wait for PR rancher/rancher#51078. |
b5c167c to
3bbb8e9
Compare
|
What release versions is this targeting? |
|
@matttrach Sorry for the late reply. This PR can work for Rancher version >= v2.12.0. |
Signed-off-by: PoAn Yang <[email protected]>
3e0b220 to
4f6652b
Compare
Issue: harvester/harvester#5764
Solution
Add reserved memory field.
Testing
Engineering Testing
Manual Testing
Automated Testing
QA Testing Considerations
Regressions Considerations