@@ -27,7 +27,7 @@ import (
27
27
"encoding/json"
28
28
29
29
appsv1 "k8s.io/api/apps/v1"
30
- "k8s.io/api/core/v1"
30
+ v1 "k8s.io/api/core/v1"
31
31
storage "k8s.io/api/storage/v1"
32
32
"k8s.io/apimachinery/pkg/api/resource"
33
33
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@@ -49,6 +49,7 @@ const (
49
49
pvDeletionTimeout = 3 * time .Minute
50
50
statefulSetReadyTimeout = 3 * time .Minute
51
51
taintKeyPrefix = "zoneTaint_"
52
+ repdMinSize = "200Gi"
52
53
)
53
54
54
55
var _ = utils .SIGDescribe ("Regional PD" , func () {
@@ -106,8 +107,8 @@ func testVolumeProvisioning(c clientset.Interface, ns string) {
106
107
"zones" : strings .Join (cloudZones , "," ),
107
108
"replication-type" : "regional-pd" ,
108
109
},
109
- ClaimSize : "1.5Gi" ,
110
- ExpectedSize : "2Gi" ,
110
+ ClaimSize : repdMinSize ,
111
+ ExpectedSize : repdMinSize ,
111
112
PvCheck : func (claim * v1.PersistentVolumeClaim , volume * v1.PersistentVolume ) {
112
113
var err error
113
114
err = checkGCEPD (volume , "pd-standard" )
@@ -126,8 +127,8 @@ func testVolumeProvisioning(c clientset.Interface, ns string) {
126
127
"type" : "pd-standard" ,
127
128
"replication-type" : "regional-pd" ,
128
129
},
129
- ClaimSize : "1.5Gi" ,
130
- ExpectedSize : "2Gi" ,
130
+ ClaimSize : repdMinSize ,
131
+ ExpectedSize : repdMinSize ,
131
132
PvCheck : func (claim * v1.PersistentVolumeClaim , volume * v1.PersistentVolume ) {
132
133
var err error
133
134
err = checkGCEPD (volume , "pd-standard" )
@@ -309,7 +310,7 @@ func testRegionalDelayedBinding(c clientset.Interface, ns string, pvcCount int)
309
310
"type" : "pd-standard" ,
310
311
"replication-type" : "regional-pd" ,
311
312
},
312
- ClaimSize : "2Gi" ,
313
+ ClaimSize : repdMinSize ,
313
314
DelayBinding : true ,
314
315
}
315
316
@@ -342,8 +343,8 @@ func testRegionalAllowedTopologies(c clientset.Interface, ns string) {
342
343
"type" : "pd-standard" ,
343
344
"replication-type" : "regional-pd" ,
344
345
},
345
- ClaimSize : "2Gi" ,
346
- ExpectedSize : "2Gi" ,
346
+ ClaimSize : repdMinSize ,
347
+ ExpectedSize : repdMinSize ,
347
348
}
348
349
349
350
suffix := "topo-regional"
@@ -367,7 +368,7 @@ func testRegionalAllowedTopologiesWithDelayedBinding(c clientset.Interface, ns s
367
368
"type" : "pd-standard" ,
368
369
"replication-type" : "regional-pd" ,
369
370
},
370
- ClaimSize : "2Gi" ,
371
+ ClaimSize : repdMinSize ,
371
372
DelayBinding : true ,
372
373
}
373
374
0 commit comments