kubernetes/test/e2e/framework
Kubernetes Submit Queue c21fdc71a3 Merge pull request #32986 from Random-Liu/add-image-white-list
Automatic merge from submit-queue

Node E2E: Add image white list

This is part of #29081. Fixes #29155.

As is discussed with @yujuhong in #29155, it is difficult to maintain the prepull image list if it is not enforced. 

This PR added an image white list in the test framework, only images in the white list could be used in the test. If the image is not in the white list, the test will fail with reason:
```
Image "XXX" is not in the white list, consider adding it to CommonImageWhiteList in test/e2e/common/util.go or NodeImageWhiteList in test/e2e_node/image_list.go
```

Notice that if image pull policy is `PullAlways`, the image is not necessary to be in the white list or prepulled, because the test expects the image to be pulled during the test.

Currently, the image white list is only enabled in node e2e, because the image puller in e2e test is not integrated with the image white list yet.

/cc @kubernetes/sig-node
2016-09-20 07:28:58 -07:00
..
cleanup.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
exec_util.go Make container exec failures in e2e easier to debug 2016-09-16 22:05:00 -04:00
federation_util.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
framework.go Add kubectl run ScheduledJob e2e test 2016-09-14 14:20:56 +02:00
gobindata_util.go kill repo-root : test/e2e/serviceloadbalancers.go 2016-07-29 14:35:19 -04:00
kubelet_stats.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
log_size_monitoring.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
metrics_util.go add peak (100%) lantecy and CPU usage in perf data 2016-08-19 14:33:38 -07:00
nodes_util.go Fix node upgrade in e2e tests 2016-09-15 14:08:47 +02:00
perf_util.go add labels to perf dataset 2016-08-18 17:15:43 -07:00
pods.go Add image white list, images in white list will be prepulled, and 2016-09-19 14:39:23 -07:00
prompush.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
resource_usage_gatherer.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
test_context.go Add image white list, images in white list will be prepulled, and 2016-09-19 14:39:23 -07:00
util.go Merge pull request #32871 from wojtek-t/speedup_pod_deletion 2016-09-16 08:20:46 -07:00