kubernetes/test/e2e_node
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
..
build Move utilities into different packages. Add local and remove runner. 2016-08-24 20:18:45 -07:00
environment Clean up IPTables caps i.e.: sed -i "s/Iptables/IPTables/g" 2016-08-29 10:34:42 +10:00
jenkins endable DynamicKubeletConfig in benchmark test properties 2016-09-13 13:59:19 -07:00
remote bump cni 2016-09-06 10:48:36 -07:00
runner get image and machine info from api server instead of passing from test 2016-09-13 08:41:29 -07:00
services Merge pull request #31819 from mtaufen/plumb-feature-gates 2016-09-09 12:31:00 -07:00
apparmor_test.go Add image white list, images in white list will be prepulled, and 2016-09-19 14:39:23 -07:00
benchmark_util.go get image and machine info from api server instead of passing from test 2016-09-13 08:41:29 -07:00
cgroup_manager_test.go Add image white list, images in white list will be prepulled, and 2016-09-19 14:39:23 -07:00
container.go Add image pull retry in image pulling test. 2016-09-19 14:18:37 -07:00
container_manager_test.go Add image white list, images in white list will be prepulled, and 2016-09-19 14:39:23 -07:00
density_test.go Add image white list, images in white list will be prepulled, and 2016-09-19 14:39:23 -07:00
disk_eviction_test.go Add image white list, images in white list will be prepulled, and 2016-09-19 14:39:23 -07:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
dynamic_kubelet_configuration_test.go Capitalize feature name in test for dynamic kubelet configuration 2016-08-24 13:14:40 -07:00
e2e_node_suite_test.go Add image white list, images in white list will be prepulled, and 2016-09-19 14:39:23 -07:00
gubernator.sh Fix error message around gcloud calls in node e2e and gubernator 2016-09-17 01:05:20 -04:00
image.go Rename ConnectToDockerOrDie to CreateDockerClientOrDie 2016-08-26 11:21:07 -07:00
image_conformance_test.go Add image white list, images in white list will be prepulled, and 2016-09-19 14:39:23 -07:00
image_list.go Add image white list, images in white list will be prepulled, and 2016-09-19 14:39:23 -07:00
kubelet_test.go Add image white list, images in white list will be prepulled, and 2016-09-19 14:39:23 -07:00
memory_eviction_test.go Add image white list, images in white list will be prepulled, and 2016-09-19 14:39:23 -07:00
mirror_pod_test.go Add image white list, images in white list will be prepulled, and 2016-09-19 14:39:23 -07:00
OWNERS add Lantao Liu as node e2e reviewer. Relieve pwittroc@ from node e2e maintenance 2016-08-11 12:56:05 -07:00
README.md Fix broken warning image link in docs 2016-07-15 10:44:58 +01:00
resource_collector.go Revert "Revert "[kubelet] Fix oom-score-adj policy in kubelet"" 2016-09-16 16:32:58 -07:00
resource_usage_test.go Add image white list, images in white list will be prepulled, and 2016-09-19 14:39:23 -07:00
runtime_conformance_test.go Merge pull request #32986 from Random-Liu/add-image-white-list 2016-09-20 07:28:58 -07:00
util.go Wait for the memory pressure condition to be absent before finishing the memory eviction test 2016-08-26 10:15:28 -07:00

WARNING WARNING WARNING WARNING WARNING

PLEASE NOTE: This document applies to the HEAD of the source tree

If you are using a released version of Kubernetes, you should refer to the docs that go with that version.

The latest release of this document can be found [here](http://releases.k8s.io/release-1.1/docs/devel/collab.md).

Documentation for other releases can be found at releases.k8s.io.

See e2e-node-tests

Analytics