-
Notifications
You must be signed in to change notification settings - Fork 181
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
Can we provision independent persistent disk using vsphere csi driver? #2911
Comments
@shindebshekhar what is independent persistent disk? |
Dependent: Dependent mode is the default disk mode. When you take a snapshot of a virtual machine, dependent disks are included in the snapshot. When you revert to the previous snapshot, all data are reverted to the point of taking a snapshot. Independent - Persistent: Disks in persistent mode behave like conventional disks on your physical computer. All data written to a disk in persistent mode are written permanently to the disk even if you revert a snapshot. When you power off or reset a virtual machine, the disk and all its snapshots are preserved. Independent - Nonpersistent: Disks in nonpersistent mode behave like read-only disks. Changes to disks in nonpersistent mode are discarded when you power off or reset the virtual machine. With nonpersistent mode, you can restart the virtual machine with a virtual disk in the same state every time. Changes to the disk are written to and read from a redo log file that is deleted when you power off or reset the virtual machine, or when you delete a snapshot. |
These are disk mode as documented here is go vsphere client. https://github.com/vmware/govmomi/blob/fb9679e76d104a9619f13a35e020f30ba25f14be/vim25/types/enum.go#L11850 Looks like vsphere cloud provider used to create the disk with Independent Persistent mode But I could not find any reference for this in the vSphere CSI provider repo and I assume by default it is creating with dependent disk mode as we have noticed in our environment. |
I am also interested in this. We would like to be able to create a snapshot of all cluster nodes (including workers) before doing an upgrade to be able to revert in case of failed upgrade. |
What happened:
By default dependent persistent disk are provisioned. As per some of our backup tool requirement we need to provision independent persistent disk.
What you expected to happen:
Feature that provides provisioning of independent persistent disk
Anything else we need to know?:
Environment: rke2 cluster v1.28.8+rke2r1 3Master 3 Worker nodes
uname -a
): 5.3.18-150300.59.147-defaultThe text was updated successfully, but these errors were encountered: