mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Merge pull request #69198 from mkumatag/fix-tests
Use proper manifest images
This commit is contained in:
commit
bc135bd328
@ -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,
|
||||||
},
|
},
|
||||||
|
@ -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:
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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"
|
||||||
|
@ -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.
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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"
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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:
|
||||||
|
@ -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
|
||||||
|
@ -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"
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
"spec": {
|
"spec": {
|
||||||
"containers": [{
|
"containers": [{
|
||||||
"name": "nginx",
|
"name": "nginx",
|
||||||
"image": "dockerfile/nginx",
|
"image": "nginx",
|
||||||
"ports": [{"containerPort": 80}]
|
"ports": [{"containerPort": 80}]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
|
@ -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"
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user