-
Notifications
You must be signed in to change notification settings - Fork 453
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: Add support vSAN space efficiency #1702
Conversation
This feature is to support configuring the compression and deduplication for vSAN. In this change, we added two new parameters "vsan_dedup_enabled" and "vsan_compression_enabled" to support the toggling of data efficiency configuration for the specified vSAN datastore. The goVmomi version is also updated to support the latest VMODL connection to vSphere/vSAN. Testing Details: We did end to end test from 6 standalone hosts based on the vSphere 7.0. A vSAN cluster could be created with deduplication and compression-only enabled by running .tf file which contains the following settings. ``` resource "vsphere_compute_cluster" "cluster" { name = "clusternemae" datacenter_id = data.vsphere_datacenter.datacenter.id vsan_enabled = true vsan_dedup_enabled = true vsan_compression_enabled = true } ``` We can also create a vSAN cluter with compression only by set vsan_compression_enabled true only. ``` resource "vsphere_compute_cluster" "cluster" { name = "clusternemae" datacenter_id = data.vsphere_datacenter.datacenter.id vsan_enabled = true vsan_dedup_enabled = false vsan_compression_enabled = true } ```
Updates the context for `vsan_dedup_enabled` argument and addresses line breaks. Signed-off-by: Ryan Johnson <[email protected]>
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.
Approved based on previous pull request.
Updates `r/vsphere_compute_cluster` documentation to include a note that you must disable vSphere HA before you enable vSAN on the cluster. Then you can enable / re-enable vSphere HA after vSAN is configured. Signed-off-by: Ryan Johnson <[email protected]>
Updates `CHANGELOG.md` to include the feature provided in #1702.
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Copying original PR description from #1683
Please see original PR comments for full context of conversation
Description
This feature is to support configuring the compression and deduplication for vSAN. In this change, we added two new parameters
vsan_dedup_enabled
andvsan_compression_enabled
to support the toggling of data efficiency configuration for the specified vSAN datastore. Thevmware/govmomi
version is also updated0.28.0
to support the latest VMODL connection to vSphere/vSAN.Testing Details:
We did end to end test from 6 standalone hosts based on the vSphere 7.0. A vSAN cluster could be created with deduplication and compression enabled by running .tf file which contains the following settings.
We can also create a vSAN cluster with compression only by only setting
vsan_compression_enabled
totrue
.Acceptance tests
Output from acceptance testing:
Release Note
resource/compute_cluster
: Add support for vSAN compression and deduplication (GH-1683)References
Closes: #1669