-
Notifications
You must be signed in to change notification settings - Fork 48
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
🌱 Add VM backup implementation for v1a2 #240
Conversation
12a9c52
to
80c5ee3
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.
Just one comment but not necessarily a block if you're OK with some more later work.
BackupVMKubeDataExtraConfigKey = "vmservice.virtualmachine.kubedata" | ||
// BackupVMBootstrapDataExtraConfigKey is the ExtraConfig key to the VM's | ||
// bootstrap data object, compressed using gzip and base64-encoded. | ||
BackupVMBootstrapDataExtraConfigKey = "vmservice.virtualmachine.bootstrapdata" |
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.
For v1a2 vApp customization there is also be a map of maps: see GetVirtualMachineBootstrap(). I'm pretty sure - once we get around to supporting it - the inlined CloudInit customization can also specify a map of maps.
I'm fine if we just what to worry about this case later.
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.
Yes, I have also left a todo comment to address this case. I will work on it once the v1a2 customization is ready (thought it would be easier to validate my change then).
80c5ee3
to
91d5565
Compare
91d5565
to
96894f9
Compare
Minimum allowed line rate is |
What does this PR do, and why is it needed?
This patch adds the implementation code for VM backup in v1a2. It includes all the follow-up changes in #239 with some minor updates specific to v1a2.
Please add a release note if necessary: