You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UPSTREAM: <carry>: Changes to support hyperdisk multi-writer mode
Upstream PR: kubernetes-sigs#1919
Added fixes for test key handling.
Multiwriter Test Update (openshift#3)
* Changes update the tests to use two contexts, one for multiwriter and one for the existing tests. This was deemed necessary as only some disks can support multi-writer, and only some VM shapes can support said disks.
Update parameters.go
Fixing a linting issue.
Karkunpavan (openshift#4)
* Removing alpha disk from tests.
* Changes setup the test to run with hyperdisk extreme.
* Updates the disk type back to balanced, as HDX doesn't support multi writer.
* Moving over to m1 megamem as thats the only type of machine that can support all needed disk types.
* Changes update the tests to use two contexts, one for multiwriter and one for the existing tests. This was deemed necessary as only some disks can support multi-writer, and only some VM shapes can support said disks.
* Changes update the tests to use two contexts, one for multiwriter and one for the existing tests. This was deemed necessary as only some disks can support multi-writer, and only some VM shapes can support said disks.
* Fixing some git oddness
* Fixing some formatting.
* More formatting fixes.
* Hopefully last changes for formatting.
* Fixing linting issue.
* Cleaning up un-used / un-needed GetMultiWriter test function.
Completley removing the multiwriter check from fake-gce.
Changes remove the API version concept from GetDisk and InsertDisk, now just defaults to using the Beta API.
Cleaning up un-used variables.
pkg/gce-cloud-provider/compute/fake-gce.go
Addressing comments around GetMultiWriter checks.
Removing multi-writer as a disk paramter.
Fixing rebasing issues.
Merge branch 'master' into followup
Merge branch 'kubernetes-sigs:master' into hd-mw
Merge branch 'kubernetes-sigs:master' into hd-mw
Merge pull request openshift#1 from karkunpavan/karkunpavan
Added fixes for test key handling.
Copy file name to clipboardExpand all lines: cmd/gce-pd-csi-driver/main.go
+2-1
Original file line number
Diff line number
Diff line change
@@ -72,6 +72,7 @@ var (
72
72
formatAndMountTimeout=flag.Duration("format-and-mount-timeout", 1*time.Minute, "The maximum duration of a format and mount operation before another such operation will be started. Used only if --serialize-format-and-mount")
73
73
fallbackRequisiteZonesFlag=flag.String("fallback-requisite-zones", "", "Comma separated list of requisite zones that will be used if there are not sufficient zones present in requisite topologies when provisioning a disk")
74
74
enableStoragePoolsFlag=flag.Bool("enable-storage-pools", false, "If set to true, the CSI Driver will allow volumes to be provisioned in Storage Pools")
75
+
enableHdHAFlag=flag.Bool("allow-hdha-provisioning", false, "If set to true, will allow the driver to provision Hyperdisk-balanced High Availability disks")
75
76
76
77
multiZoneVolumeHandleDiskTypesFlag=flag.String("multi-zone-volume-handle-disk-types", "", "Comma separated list of allowed disk types that can use the multi-zone volumeHandle. Used only if --multi-zone-volume-handle-enable")
77
78
multiZoneVolumeHandleEnableFlag=flag.Bool("multi-zone-volume-handle-enable", false, "If set to true, the multi-zone volumeHandle feature will be enabled")
0 commit comments