-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat(vmsnapshot): add the ability to snapshot virtualmachines #347
Draft
Isteb4k
wants to merge
2
commits into
main
Choose a base branch
from
feat/vmsnapshot/controller
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Isteb4k
force-pushed
the
feat/vmsnapshot/controller
branch
from
September 5, 2024 14:36
9c215dc
to
5916d93
Compare
Isteb4k
changed the title
chore(api): set priority class for pods
feat(vmsnapshot): create new controller
Sep 5, 2024
Isteb4k
force-pushed
the
feat/vmsnapshot/controller
branch
27 times, most recently
from
September 10, 2024 13:59
87a5338
to
e4f11d7
Compare
diafour
reviewed
Sep 16, 2024
diafour
reviewed
Sep 16, 2024
images/virtualization-artifact/pkg/controller/vmsnapshot/internal/virtual_machine_ready.go
Outdated
Show resolved
Hide resolved
diafour
reviewed
Sep 16, 2024
images/virtualization-artifact/pkg/controller/vmsnapshot/vmsnapshot_webhook.go
Outdated
Show resolved
Hide resolved
diafour
reviewed
Sep 16, 2024
Comment on lines
+75
to
+82
vdName, ok := strings.CutSuffix(vdSnapshotName, "-"+string(vmSnapshot.UID)) | ||
if !ok { | ||
slog.Default().Error("Failed to get virtual disk name from virtual disk snapshot name, please report a bug") | ||
continue | ||
} | ||
|
||
if vdName == obj.GetName() { | ||
requests = append(requests, reconcile.Request{ | ||
NamespacedName: types.NamespacedName{ |
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.
Can we set label with VirtualMachineSnapshot name on VirtualDiskSnapshot resources?
diafour
reviewed
Sep 16, 2024
images/virtualization-artifact/pkg/controller/vmsnapshot/internal/watcher/vm_watcher.go
Show resolved
Hide resolved
Isteb4k
force-pushed
the
feat/vmsnapshot/controller
branch
17 times, most recently
from
September 26, 2024 17:44
af1815b
to
d8d50c6
Compare
Signed-off-by: Isteb4k <[email protected]>
Isteb4k
force-pushed
the
feat/vmsnapshot/controller
branch
4 times, most recently
from
September 27, 2024 20:24
7d1646a
to
88a30c3
Compare
Signed-off-by: Isteb4k <[email protected]>
Isteb4k
force-pushed
the
feat/vmsnapshot/controller
branch
from
September 27, 2024 20:28
88a30c3
to
7f821fd
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
New resource VirtualMachineSnapshot:
Checklist