-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Multi-Availability Zone Support (#383)
* Add availability zone secret and struct (#352) * add availability zone secret and struct * Add multi availability zone storage class (#353) * Add Multi-Available Zone Functionality (#354) * Add create volume processing for multi-az * Adjust multi-az secret processing * Rework secret processing * Iterate through all topologies for a zone * Test signing commit * Cleanup secret retrieval and backwards compatibility of storage classes * adapt to use new secret struct * Add multi-az unit tests * Fix golangci-lint issue * Cleanup code logs * Make zone take precendence during NodeGetInfo * Update unit tests credentials --------- Co-authored-by: Lau, Luke <[email protected]> * Unit tests for Node Topologies (#358) * Adding Unit tests * fixing formatting issues * Use generic zone labels (#360) * Add zone volume creation integration tests (#359) * Add zone volume creation integration tests * Fix golangci-lint issue * Create e2e zone tests * Adjust indentation of template yaml files * Adjust indentation of template yaml files * Update e2e file names * Format e2e files for golangci-lint * Update e2e test scenarios * Update pod templates * Address PR comments * Add README to e2e tests * Update sts templates * Added Integration tests for NodeGetInfo * fixing linting checks * Renaming function arguments * Add Snapshot and Clone Support for Multi-Available Zone (#365) * Add snapshot check and topology add during zone volume creation * Add topology checks for clones * Add zone snapshot and restore e2e test * Address failed PR checks * Update README * Added e2e tests for clones * Add snap and clone test (#371) * Address PR comments --------- Co-authored-by: Trevor Dawe <[email protected]> Co-authored-by: Bharath Sreekanth <[email protected]> * Driver Node should only ping arrays within the zone on which the pod is scheduled (#378) * configure driver node service to only ping arrays in the same zone as the service. Co-authored-by: Fernando Alfaro Campos <[email protected]> Co-authored-by: Trevor Dawe <[email protected]> * Fix rebase issues * Address PR comments * Address PR comments * Address PR comments --------- Co-authored-by: lukeatdell <[email protected]> Co-authored-by: Lau, Luke <[email protected]> Co-authored-by: Harshita Pandey <[email protected]> Co-authored-by: Trevor Dawe <[email protected]> Co-authored-by: Harshita Pandey <[email protected]> Co-authored-by: Bharath Sreekanth <[email protected]>
- Loading branch information
1 parent
b4f7dac
commit 200b918
Showing
44 changed files
with
2,810 additions
and
373 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
apiVersion: storage.k8s.io/v1 | ||
kind: StorageClass | ||
metadata: | ||
name: vxflexos-az | ||
provisioner: csi-vxflexos.dellemc.com | ||
# reclaimPolicy: PVs that are dynamically created by a StorageClass will have the reclaim policy specified here | ||
# Allowed values: | ||
# Reclaim: retain the PV after PVC deletion | ||
# Delete: delete the PV after PVC deletion | ||
# Optional: true | ||
# Default value: Delete | ||
reclaimPolicy: Delete | ||
# allowVolumeExpansion: allows the users to resize the volume by editing the corresponding PVC object | ||
# Allowed values: | ||
# true: allow users to resize the PVC | ||
# false: does not allow users to resize the PVC | ||
# Optional: true | ||
# Default value: false | ||
allowVolumeExpansion: true | ||
parameters: | ||
# Filesytem type for volumes created by storageclass | ||
# Default value: None if defaultFsType is not mentioned in values.yaml | ||
# Else defaultFsType value mentioned in values.yaml | ||
# will be used as default value | ||
csi.storage.k8s.io/fstype: xfs | ||
# Limit the volume network bandwidth | ||
# Value is a positive number in granularity of 1024 Kbps; 0 = unlimited | ||
# Allowed values: one string for bandwidth limit in Kbps | ||
# Optional: false | ||
# Uncomment the line below if you want to use bandwidthLimitInKbps | ||
# bandwidthLimitInKbps: <BANDWIDTH_LIMIT_IN_KBPS> # Insert bandwidth limit in Kbps | ||
# Limit the volume IOPS | ||
# The number of IOPS must be greater than 10; 0 = unlimited | ||
# Allowed values: one string for iops limit | ||
# Optional: false | ||
# Uncomment the line below if you want to use iopsLimit | ||
# iopsLimit: <IOPS_LIMIT> # Insert iops limit | ||
# volumeBindingMode determines how volume binding and dynamic provisioning should occur | ||
# Allowed values: | ||
# Immediate: volume binding and dynamic provisioning occurs once PVC is created | ||
# WaitForFirstConsumer: delay the binding and provisioning of PV until a pod using the PVC is created. | ||
# Optional: false | ||
# Default value: WaitForFirstConsumer (required for topology section below) | ||
volumeBindingMode: WaitForFirstConsumer | ||
# allowedTopologies helps scheduling pods on worker nodes which match all of below expressions. | ||
# by providing the zone key, the scheduler can make sure that pods are scheduled on the same zone. | ||
# Note: The node must have the same label value with the key and a single associated zone. | ||
allowedTopologies: | ||
- matchLabelExpressions: | ||
- key: topology.kubernetes.io/zone | ||
values: | ||
- zoneA | ||
- zoneB |
Oops, something went wrong.