forked from kubernetes/cloud-provider-vsphere
-
Notifications
You must be signed in to change notification settings - Fork 0
/
e2e-job.yaml
52 lines (52 loc) · 1.22 KB
/
e2e-job.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
apiVersion: batch/v1
kind: Job
metadata:
name: e2e
namespace: e2e
labels:
name: e2e
spec:
template:
spec:
volumes:
- name: kubectl
hostPath:
path: /opt/bin/kubectl
type: File
- name: kubeconfig
secret:
secretName: kubeconfig
- name: e2e
hostPath:
path: /var/lib/kubernetes/e2e
type: Directory
- name: artifacts
emptyDir: {}
containers:
- name: run
image: gcr.io/kubernetes-conformance-testing/yake2e-job
args:
- run
volumeMounts:
- name: kubectl
mountPath: /usr/local/bin/kubectl
readOnly: true
- name: kubeconfig
mountPath: /etc/kubernetes
readOnly: true
- name: e2e
mountPath: /var/lib/kubernetes/e2e
readOnly: true
- name: artifacts
mountPath: /var/log/kubernetes/e2e
readOnly: false
- name: tgz
image: gcr.io/kubernetes-conformance-testing/yake2e-job
args:
- tgz
volumeMounts:
- name: artifacts
mountPath: /var/log/kubernetes/e2e
readOnly: false
restartPolicy: Never
backoffLimit: 4