Merge pull request #69198 from mkumatag/fix-tests

Use proper manifest images
This commit is contained in:
k8s-ci-robot 2018-10-05 20:25:23 -07:00 committed by GitHub
commit bc135bd328
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
26 changed files with 35 additions and 35 deletions

View File

@ -276,13 +276,13 @@ while true; do sleep 1; done
}, },
{ {
description: "should be able to pull image from gcr.io", description: "should be able to pull image from gcr.io",
image: "k8s.gcr.io/alpine-with-bash:1.0", image: "gcr.io/google-containers/debian-base:0.3.2",
phase: v1.PodRunning, phase: v1.PodRunning,
waiting: false, waiting: false,
}, },
{ {
description: "should be able to pull image from docker hub", description: "should be able to pull image from docker hub",
image: "alpine:3.1", image: "alpine:3.7",
phase: v1.PodRunning, phase: v1.PodRunning,
waiting: false, waiting: false,
}, },

View File

@ -11,7 +11,7 @@ spec:
spec: spec:
containers: containers:
- name: echoheaders - name: echoheaders
image: k8s.gcr.io/echoserver:1.10 image: gcr.io/kubernetes-e2e-test-images/echoserver:2.2
ports: ports:
- containerPort: 8080 - containerPort: 8080
readinessProbe: readinessProbe:

View File

@ -11,6 +11,6 @@ spec:
spec: spec:
containers: containers:
- name: echoheaders - name: echoheaders
image: k8s.gcr.io/echoserver:1.10 image: gcr.io/kubernetes-e2e-test-images/echoserver:2.2
ports: ports:
- containerPort: 8443 - containerPort: 8443

View File

@ -11,6 +11,6 @@ spec:
spec: spec:
containers: containers:
- name: echoheaders-https - name: echoheaders-https
image: gcr.io/google_containers/echoserver:1.10 image: gcr.io/kubernetes-e2e-test-images/echoserver:2.2
ports: ports:
- containerPort: 8080 - containerPort: 8080

View File

@ -12,7 +12,7 @@ spec:
run: hostname run: hostname
spec: spec:
containers: containers:
- image: gcr.io/kubernetes-e2e-test-images/serve-hostname-amd64:1.1 - image: gcr.io/kubernetes-e2e-test-images/serve-hostname:1.1
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
name: hostname name: hostname
terminationGracePeriodSeconds: 120 terminationGracePeriodSeconds: 120

View File

@ -11,7 +11,7 @@ spec:
run: hostname run: hostname
spec: spec:
containers: containers:
- image: gcr.io/kubernetes-e2e-test-images/serve-hostname-amd64:1.1 - image: gcr.io/kubernetes-e2e-test-images/serve-hostname:1.1
name: host1 name: host1
command: command:
- /bin/sh - /bin/sh
@ -20,7 +20,7 @@ spec:
ports: ports:
- protocol: TCP - protocol: TCP
containerPort: 8000 containerPort: 8000
- image: gcr.io/kubernetes-e2e-test-images/serve-hostname-amd64:1.1 - image: gcr.io/kubernetes-e2e-test-images/serve-hostname:1.1
name: host2 name: host2
command: command:
- /bin/sh - /bin/sh

View File

@ -12,7 +12,7 @@ spec:
run: hostname run: hostname
spec: spec:
containers: containers:
- image: gcr.io/kubernetes-e2e-test-images/serve-hostname-amd64:1.1 - image: gcr.io/kubernetes-e2e-test-images/serve-hostname:1.1
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
name: hostname name: hostname
terminationGracePeriodSeconds: 120 terminationGracePeriodSeconds: 120

View File

@ -11,6 +11,6 @@ spec:
spec: spec:
containers: containers:
- name: echoheaders-https - name: echoheaders-https
image: k8s.gcr.io/echoserver:1.10 image: gcr.io/kubernetes-e2e-test-images/echoserver:2.2
ports: ports:
- containerPort: 8080 - containerPort: 8080

View File

@ -11,6 +11,6 @@ spec:
spec: spec:
containers: containers:
- name: echoheaders-https - name: echoheaders-https
image: k8s.gcr.io/echoserver:1.10 image: gcr.io/kubernetes-e2e-test-images/echoserver:2.2
ports: ports:
- containerPort: 8080 - containerPort: 8080

View File

@ -11,6 +11,6 @@ spec:
spec: spec:
containers: containers:
- name: echoheaders-https - name: echoheaders-https
image: k8s.gcr.io/echoserver:1.10 image: gcr.io/kubernetes-e2e-test-images/echoserver:2.2
ports: ports:
- containerPort: 8080 - containerPort: 8080

View File

@ -9,7 +9,7 @@ metadata:
spec: spec:
containers: containers:
- name: master - name: master
image: k8s.gcr.io/redis:v1 image: gcr.io/kubernetes-e2e-test-images/redis:1.0
env: env:
- name: MASTER - name: MASTER
value: "true" value: "true"
@ -22,7 +22,7 @@ spec:
- mountPath: /redis-master-data - mountPath: /redis-master-data
name: data name: data
- name: sentinel - name: sentinel
image: kubernetes/redis:v1 image: gcr.io/kubernetes-e2e-test-images/redis:1.0
env: env:
- name: SENTINEL - name: SENTINEL
value: "true" value: "true"

View File

@ -12,7 +12,7 @@ spec:
spec: spec:
containers: containers:
- name: netexec - name: netexec
image: k8s.gcr.io/netexec:1.4 image: gcr.io/kubernetes-e2e-test-images/netexec:1.0
ports: ports:
- containerPort: 8080 - containerPort: 8080
# This is to force these pods to land on different hosts. # This is to force these pods to land on different hosts.

View File

@ -18,7 +18,7 @@ spec:
spec: spec:
containers: containers:
- name: etcd - name: etcd
image: k8s.gcr.io/etcd-amd64:2.2.5 image: k8s.gcr.io/etcd:3.2.24
imagePullPolicy: Always imagePullPolicy: Always
ports: ports:
- containerPort: 2380 - containerPort: 2380

View File

@ -15,7 +15,7 @@ spec:
spec: spec:
containers: containers:
- name: nginx - name: nginx
image: k8s.gcr.io/nginx-slim:0.8 image: nginx:1.15-alpine
ports: ports:
- containerPort: 80 - containerPort: 80
name: web name: web

View File

@ -15,7 +15,7 @@ spec:
spec: spec:
initContainers: initContainers:
- name: install - name: install
image: k8s.gcr.io/redis-install-3.2.0:e2e image: gcr.io/kubernetes-e2e-test-images/pets/redis-installer:1.1
imagePullPolicy: Always imagePullPolicy: Always
args: args:
- "--install-into=/opt" - "--install-into=/opt"

View File

@ -15,7 +15,7 @@ spec:
spec: spec:
initContainers: initContainers:
- name: install - name: install
image: k8s.gcr.io/zookeeper-install-3.5.0-alpha:e2e image: gcr.io/kubernetes-e2e-test-images/pets/zookeeper-installer:1.1
imagePullPolicy: Always imagePullPolicy: Always
args: args:
- "--install-into=/opt" - "--install-into=/opt"
@ -47,7 +47,7 @@ spec:
mountPath: "/tmp/zookeeper" mountPath: "/tmp/zookeeper"
containers: containers:
- name: zk - name: zk
image: java:openjdk-8-jre image: openjdk:8-jre
ports: ports:
- containerPort: 2888 - containerPort: 2888
name: peer name: peer

View File

@ -5,7 +5,7 @@ metadata:
spec: spec:
containers: containers:
- name: test-container - name: test-container
image: k8s.gcr.io/busybox image: busybox
command: [ "/bin/sh", "-c", "env" ] command: [ "/bin/sh", "-c", "env" ]
env: env:
- name: MY_POD_NAME - name: MY_POD_NAME

View File

@ -10,7 +10,7 @@ spec:
- /bin/sh - /bin/sh
- -c - -c
- echo ok > /tmp/health; sleep 10; rm -rf /tmp/health; sleep 600 - echo ok > /tmp/health; sleep 10; rm -rf /tmp/health; sleep 600
image: k8s.gcr.io/busybox image: busybox
livenessProbe: livenessProbe:
exec: exec:
command: command:

View File

@ -8,7 +8,7 @@ spec:
containers: containers:
- args: - args:
- /server - /server
image: k8s.gcr.io/liveness image: gcr.io/kubernetes-e2e-test-images/liveness:1.0
livenessProbe: livenessProbe:
httpGet: httpGet:
path: /healthz path: /healthz

View File

@ -10,7 +10,7 @@ metadata:
spec: spec:
containers: containers:
- name: master - name: master
image: kubernetes/redis:v1 image: gcr.io/kubernetes-e2e-test-images/redis:1.0
env: env:
- name: MASTER - name: MASTER
value: "true" value: "true"
@ -23,7 +23,7 @@ spec:
- mountPath: /redis-master-data - mountPath: /redis-master-data
name: data name: data
- name: sentinel - name: sentinel
image: kubernetes/redis:v1 image: gcr.io/kubernetes-e2e-test-images/redis:1.0
env: env:
- name: SENTINEL - name: SENTINEL
value: "true" value: "true"
@ -42,7 +42,7 @@ metadata:
spec: spec:
containers: containers:
- name: kubernetes-serve-hostname - name: kubernetes-serve-hostname
image: k8s.gcr.io/serve_hostname image: gcr.io/kubernetes-e2e-test-images/serve-hostname:1.0
resources: resources:
limits: limits:
cpu: "1" cpu: "1"

View File

@ -27,7 +27,7 @@ spec:
spec: spec:
containers: containers:
- name: slave - name: slave
image: gcr.io/google_samples/gb-redisslave:v1 image: gcr.io/google-samples/gb-redisslave:v3
resources: resources:
requests: requests:
cpu: 100m cpu: 100m

View File

@ -5,7 +5,7 @@ metadata:
spec: spec:
containers: containers:
- name: test-container - name: test-container
image: k8s.gcr.io/busybox image: busybox
command: [ "/bin/sh", "-c", "env" ] command: [ "/bin/sh", "-c", "env" ]
env: env:
- name: MY_SECRET_DATA - name: MY_SECRET_DATA

View File

@ -5,7 +5,7 @@ metadata:
spec: spec:
containers: containers:
- name: test-container - name: test-container
image: k8s.gcr.io/mounttest:0.8 image: gcr.io/kubernetes-e2e-test-images/mounttest:1.0
command: [ "/mt", "--file_content=/etc/secret-volume/data-1" ] command: [ "/mt", "--file_content=/etc/secret-volume/data-1" ]
volumeMounts: volumeMounts:
# name must match the volume name below # name must match the volume name below

View File

@ -14,7 +14,7 @@
"spec": { "spec": {
"containers": [{ "containers": [{
"name": "nginx", "name": "nginx",
"image": "dockerfile/nginx", "image": "nginx",
"ports": [{"containerPort": 80}] "ports": [{"containerPort": 80}]
}] }]
} }

View File

@ -30,7 +30,7 @@ items:
spec: spec:
containers: containers:
- name: kubernetes-serve-hostname - name: kubernetes-serve-hostname
image: k8s.gcr.io/serve_hostname image: gcr.io/kubernetes-e2e-test-images/serve-hostname:1.1
resources: resources:
limits: limits:
cpu: "1" cpu: "1"

View File

@ -13,7 +13,7 @@ spec:
spec: spec:
containers: containers:
- name: mock-container - name: mock-container
image: k8s.gcr.io/pause:2.0 image: k8s.gcr.io/pause:3.1
--- ---
apiVersion: v1 apiVersion: v1
kind: ReplicationController kind: ReplicationController
@ -30,4 +30,4 @@ spec:
spec: spec:
containers: containers:
- name: mock-container - name: mock-container
image: k8s.gcr.io/pause:2.0 image: k8s.gcr.io/pause:3.1