-
Notifications
You must be signed in to change notification settings - Fork 2
unplug #1546
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?
unplug #1546
Conversation
Signed-off-by: Valeriy Khorunzhin <[email protected]>
Reviewer's guide (collapsed on small PRs)Reviewer's GuideIntroduces a special case in the provisioning comparator to handle removal of provisioning without requiring a VM restart by emitting an immediate apply change. Sequence diagram for provisioning removal without VM restartsequenceDiagram
participant VMController
participant "compareProvisioning()"
participant VM
VMController->>"compareProvisioning()": Compare current and desired VM specs
"compareProvisioning()"->>VMController: Return FieldChange with ActionApplyImmediate if provisioning removed
VMController->>VM: Apply provisioning removal immediately (no restart)
Class diagram for updated compareProvisioning logicclassDiagram
class VirtualMachineSpec {
+Provisioning
}
class FieldChange {
+Operation
+Path
+CurrentValue
+DesiredValue
+ActionRequired
}
class compareProvisioning {
+compareProvisioning(current: VirtualMachineSpec, desired: VirtualMachineSpec): []FieldChange
}
VirtualMachineSpec <.. compareProvisioning
FieldChange <.. compareProvisioning
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Signed-off-by: Valeriy Khorunzhin <[email protected]>
Signed-off-by: Valeriy Khorunzhin <[email protected]>
Workflow has started. The target step completed with status: failure. |
Workflow has started. The target step completed with status: failure. |
Workflow has started. The target step completed with status: cancelled. |
1 similar comment
Workflow has started. The target step completed with status: cancelled. |
Signed-off-by: Valeriy Khorunzhin <[email protected]>
Workflow has started. The target step completed with status: failure. |
Workflow has started. The target step completed with status: cancelled. |
Signed-off-by: Valeriy Khorunzhin <[email protected]>
Signed-off-by: Valeriy Khorunzhin <[email protected]>
Signed-off-by: Valeriy Khorunzhin <[email protected]>
Signed-off-by: Valeriy Khorunzhin <[email protected]>
Signed-off-by: Valeriy Khorunzhin <[email protected]>
Signed-off-by: Valeriy Khorunzhin <[email protected]>
Description
Why do we need it, and what problem does it solve?
What is the expected result?
Checklist
Changelog entries