-
Notifications
You must be signed in to change notification settings - Fork 159
Add support for "multi-zone" volume handle provisioning and deletion #1733
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 support for "multi-zone" volume handle provisioning and deletion #1733
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pwschuurman The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
1dfb01c
to
ea2b8e0
Compare
/assign @mattcary |
a42518c
to
95ebafa
Compare
/retest |
1 similar comment
/retest |
b321f76
to
c64c6e1
Compare
@@ -62,9 +63,10 @@ func GCEClientAndDriverSetup(instance *remote.InstanceInfo, driverConfig DriverC | |||
fmt.Sprintf("--extra-labels=%s=%s", DiskLabelKey, DiskLabelValue), | |||
"--max-concurrent-format-and-mount=20", // otherwise the serialization times out the e2e test. | |||
"--multi-zone-volume-handle-enable", | |||
"--multi-zone-volume-handle-disk-types=pd-standard", | |||
"--multi-zone-volume-handle-disk-types=pd-standard,hyperdisk-ml", |
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.
I thought it was pd-ssd instead of pd-standard?
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.
This is just a testing configuration. But I agree, I don't think anyone would want to enable --multi-zone-volume-handle-disk-types on pd-standard
. Should I update the existing tests to use pd-ssd
instead?
8afd4ed
to
45c4624
Compare
45c4624
to
cc6957f
Compare
/lgtm |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Add support for
multi-zone
volume handle provisioning. Volumes created with theenable-multi-zone-provisioning: true
parameter will be created with multiple underlying disks, one per specified zone. The underlying volume returned will specify the keywordmulti-zone
in place of thezone
field. See #1616 for more details on the syntax.Multi-zone volumes can be created from three sources:
Deletion will inspect all disks that match the volume handle name, for all zones in the driver's default region.
Special notes for your reviewer:
This adds some additional e2e tests, that are not yet runnable, due to API support being in alpha. These have been run on a locally project that has alpha support, and can be replicated by running:
Does this PR introduce a user-facing change?: