Change some node e2e test to use the prepull image framework.

This commit is contained in:
Random-Liu
2016-07-18 11:34:12 -07:00
parent 0f1a3587a2
commit 691d24cc66
5 changed files with 16 additions and 12 deletions

View File

@@ -42,7 +42,7 @@ var _ = framework.KubeDescribe("Kubelet Cgroup Manager", func() {
RestartPolicy: api.RestartPolicyNever,
Containers: []api.Container{
{
Image: "gcr.io/google_containers/busybox:1.24",
Image: ImageRegistry[busyBoxImage],
Name: contName,
Command: []string{"sh", "-c", "if [ -d /tmp/memory/Burstable ] && [ -d /tmp/memory/BestEffort ]; then exit 0; else exit 1; fi"},
VolumeMounts: []api.VolumeMount{