-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig-nfs.yaml
59 lines (59 loc) · 1.78 KB
/
config-nfs.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# yamllint disable-file
# This file is not valid YAML because it is a Helm template
# testdriver.go
StorageClass:
FromExistingClassName: powerstore-nfs # Storage class name we want to test the driver with
SnapshotClass:
FromExistingClassName: powerstore-snapclass # blockvolsnapshot class name
DriverInfo:
Name: csi-powerstore.dellemc.com # Driver name
SupportedSizeRange:
Min: 3Gi
SupportedFsType: {
"nfs", # Supported fstypes in a coma separated values
}
# Capabilities that driver support false to disable the capability and vice versa
Capabilities:
persistence: true
block: false
fsGroup: true
exec: true
snapshotDataSource: true
pvcDataSource: true
multipods: true
volumeLimits: false
topology: true
controllerExpansion: true
nodeExpansion: false
capacity: true
onlineExpansion: true
offlineExpansion: true
readWriteOncePod: true
# Allowed topologies
TopologyKeys:
- "csi-powerstore.dellemc.com/10.10.10.10-nfs"
- "csi-powerstore.dellemc.com/10.10.10.10-iscsi"
# In the stress tests how many pods and snapshots it should create
VolumeSnapshotStressTestOptions:
NumPods: 2
NumSnapshots: 2
StressTestOptions:
NumPods: 2
NumRestarts: 2
# Performance test options like volume size and latency and throughput
PerformanceTestOptions:
ProvisioningOptions:
VolumeSize: "3Gi"
Count: 2
ExpectedMetrics:
AvgLatency: 100000000000
Throughput: 0.0
# Inline volume options what your driver requires like array IF size and protocol and nas name etc..
InlineVolumes:
- Attributes:
arrayID: "myarrayid"
protocol: "NFS"
nasName: "team-nas"
size: 5Gi
Shared: true
ReadOnly: false