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
Copy file name to clipboardExpand all lines: test/e2e/common/downwardapi_volume.go
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ var _ = Describe("[sig-storage] Downward API volume", func() {
43
43
/*
44
44
Release : v1.9
45
45
Testname: DownwardAPI volume, pod name
46
-
Description: A Pod is configured with DownwardAPIVolumeSource and DownwartAPIVolumeFiles contains a item for the Pod name. The container runtime MUST be able to access Pod name from the specified path on the mounted volume.
46
+
Description: A Pod is configured with DownwardAPIVolumeSource and DownwardAPIVolumeFiles contains a item for the Pod name. The container runtime MUST be able to access Pod name from the specified path on the mounted volume.
47
47
*/
48
48
framework.ConformanceIt("should provide podname only [NodeConformance]", func() {
@@ -73,7 +73,7 @@ var _ = Describe("[sig-storage] Downward API volume", func() {
73
73
/*
74
74
Release : v1.9
75
75
Testname: DownwardAPI volume, file mode 0400
76
-
Description: A Pod is configured with DownwardAPIVolumeSource and DownwartAPIVolumeFiles contains a item for the Pod name with the file mode set to -r--------. The container runtime MUST be able to access Pod name from the specified path on the mounted volume.
76
+
Description: A Pod is configured with DownwardAPIVolumeSource and DownwardAPIVolumeFiles contains a item for the Pod name with the file mode set to -r--------. The container runtime MUST be able to access Pod name from the specified path on the mounted volume.
77
77
This test is marked LinuxOnly since Windows does not support setting specific file permissions.
78
78
*/
79
79
framework.ConformanceIt("should set mode on item file [LinuxOnly] [NodeConformance]", func() {
@@ -118,7 +118,7 @@ var _ = Describe("[sig-storage] Downward API volume", func() {
118
118
/*
119
119
Release : v1.9
120
120
Testname: DownwardAPI volume, update label
121
-
Description: A Pod is configured with DownwardAPIVolumeSource and DownwartAPIVolumeFiles contains list of items for each of the Pod labels. The container runtime MUST be able to access Pod labels from the specified path on the mounted volume. Update the labels by adding a new label to the running Pod. The new label MUST be available from the mounted volume.
121
+
Description: A Pod is configured with DownwardAPIVolumeSource and DownwardAPIVolumeFiles contains list of items for each of the Pod labels. The container runtime MUST be able to access Pod labels from the specified path on the mounted volume. Update the labels by adding a new label to the running Pod. The new label MUST be available from the mounted volume.
122
122
*/
123
123
framework.ConformanceIt("should update labels on modification [NodeConformance]", func() {
124
124
labels:=map[string]string{}
@@ -150,7 +150,7 @@ var _ = Describe("[sig-storage] Downward API volume", func() {
150
150
/*
151
151
Release : v1.9
152
152
Testname: DownwardAPI volume, update annotations
153
-
Description: A Pod is configured with DownwardAPIVolumeSource and DownwartAPIVolumeFiles contains list of items for each of the Pod annotations. The container runtime MUST be able to access Pod annotations from the specified path on the mounted volume. Update the annotations by adding a new annotation to the running Pod. The new annotation MUST be available from the mounted volume.
153
+
Description: A Pod is configured with DownwardAPIVolumeSource and DownwardAPIVolumeFiles contains list of items for each of the Pod annotations. The container runtime MUST be able to access Pod annotations from the specified path on the mounted volume. Update the annotations by adding a new annotation to the running Pod. The new annotation MUST be available from the mounted volume.
154
154
*/
155
155
framework.ConformanceIt("should update annotations on modification [NodeConformance]", func() {
156
156
annotations:=map[string]string{}
@@ -184,7 +184,7 @@ var _ = Describe("[sig-storage] Downward API volume", func() {
184
184
/*
185
185
Release : v1.9
186
186
Testname: DownwardAPI volume, CPU limits
187
-
Description: A Pod is configured with DownwardAPIVolumeSource and DownwartAPIVolumeFiles contains a item for the CPU limits. The container runtime MUST be able to access CPU limits from the specified path on the mounted volume.
187
+
Description: A Pod is configured with DownwardAPIVolumeSource and DownwardAPIVolumeFiles contains a item for the CPU limits. The container runtime MUST be able to access CPU limits from the specified path on the mounted volume.
188
188
*/
189
189
framework.ConformanceIt("should provide container's cpu limit [NodeConformance]", func() {
@@ -198,7 +198,7 @@ var _ = Describe("[sig-storage] Downward API volume", func() {
198
198
/*
199
199
Release : v1.9
200
200
Testname: DownwardAPI volume, memory limits
201
-
Description: A Pod is configured with DownwardAPIVolumeSource and DownwartAPIVolumeFiles contains a item for the memory limits. The container runtime MUST be able to access memory limits from the specified path on the mounted volume.
201
+
Description: A Pod is configured with DownwardAPIVolumeSource and DownwardAPIVolumeFiles contains a item for the memory limits. The container runtime MUST be able to access memory limits from the specified path on the mounted volume.
202
202
*/
203
203
framework.ConformanceIt("should provide container's memory limit [NodeConformance]", func() {
@@ -212,7 +212,7 @@ var _ = Describe("[sig-storage] Downward API volume", func() {
212
212
/*
213
213
Release : v1.9
214
214
Testname: DownwardAPI volume, CPU request
215
-
Description: A Pod is configured with DownwardAPIVolumeSource and DownwartAPIVolumeFiles contains a item for the CPU request. The container runtime MUST be able to access CPU request from the specified path on the mounted volume.
215
+
Description: A Pod is configured with DownwardAPIVolumeSource and DownwardAPIVolumeFiles contains a item for the CPU request. The container runtime MUST be able to access CPU request from the specified path on the mounted volume.
216
216
*/
217
217
framework.ConformanceIt("should provide container's cpu request [NodeConformance]", func() {
@@ -226,7 +226,7 @@ var _ = Describe("[sig-storage] Downward API volume", func() {
226
226
/*
227
227
Release : v1.9
228
228
Testname: DownwardAPI volume, memory request
229
-
Description: A Pod is configured with DownwardAPIVolumeSource and DownwartAPIVolumeFiles contains a item for the memory request. The container runtime MUST be able to access memory request from the specified path on the mounted volume.
229
+
Description: A Pod is configured with DownwardAPIVolumeSource and DownwardAPIVolumeFiles contains a item for the memory request. The container runtime MUST be able to access memory request from the specified path on the mounted volume.
230
230
*/
231
231
framework.ConformanceIt("should provide container's memory request [NodeConformance]", func() {
@@ -240,7 +240,7 @@ var _ = Describe("[sig-storage] Downward API volume", func() {
240
240
/*
241
241
Release : v1.9
242
242
Testname: DownwardAPI volume, CPU limit, default node allocatable
243
-
Description: A Pod is configured with DownwardAPIVolumeSource and DownwartAPIVolumeFiles contains a item for the CPU limits. CPU limits is not specified for the container. The container runtime MUST be able to access CPU limits from the specified path on the mounted volume and the value MUST be default node allocatable.
243
+
Description: A Pod is configured with DownwardAPIVolumeSource and DownwardAPIVolumeFiles contains a item for the CPU limits. CPU limits is not specified for the container. The container runtime MUST be able to access CPU limits from the specified path on the mounted volume and the value MUST be default node allocatable.
244
244
*/
245
245
framework.ConformanceIt("should provide node allocatable (cpu) as default cpu limit if the limit is not set [NodeConformance]", func() {
Description: A Pod is configured with DownwardAPIVolumeSource and DownwartAPIVolumeFiles contains a item for the memory limits. memory limits is not specified for the container. The container runtime MUST be able to access memory limits from the specified path on the mounted volume and the value MUST be default node allocatable.
255
+
Description: A Pod is configured with DownwardAPIVolumeSource and DownwardAPIVolumeFiles contains a item for the memory limits. memory limits is not specified for the container. The container runtime MUST be able to access memory limits from the specified path on the mounted volume and the value MUST be default node allocatable.
256
256
*/
257
257
framework.ConformanceIt("should provide node allocatable (memory) as default memory limit if the limit is not set [NodeConformance]", func() {
//The secret is in pending during volume creation until the secret objects are available
407
-
//or until mount the secret volume times out. There is no secret object defined for the pod, so it should return timout exception unless it is marked optional.
407
+
//or until mount the secret volume times out. There is no secret object defined for the pod, so it should return timeout exception unless it is marked optional.
408
408
//Slow (~5 mins)
409
409
It("Should fail non-optional pod creation due to secret object does not exist [Slow]", func() {
Description: Run 100 iterations of create service with the Pod running the pause image, measure the time it takes for creating the service and the endpoint with the service name is available. These durations are captured for 100 iterations, then the durations are sorted to compue 50th, 90th and 99th percentile. The single server latency MUST not exceed liberally set thresholds of 20s for 50th percentile and 50s for the 90th percentile.
52
+
Description: Run 100 iterations of create service with the Pod running the pause image, measure the time it takes for creating the service and the endpoint with the service name is available. These durations are captured for 100 iterations, then the durations are sorted to compute 50th, 90th and 99th percentile. The single server latency MUST not exceed liberally set thresholds of 20s for 50th percentile and 50s for the 90th percentile.
53
53
*/
54
54
framework.ConformanceIt("should not be very high ", func() {
0 commit comments