forked from kubernetes/perf-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deployment.yaml
44 lines (44 loc) · 1.14 KB
/
deployment.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
apiVersion: apps/v1
kind: Deployment
metadata:
name: perfdash
labels:
app: perfdash
spec:
selector:
matchLabels:
app: perfdash
template:
metadata:
labels:
app: perfdash
spec:
containers:
- name: perfdash
image: gcr.io/k8s-testimages/perfdash:2.23
command:
- /perfdash
- --www=true
- --dir=/www
- --address=0.0.0.0:8080
- --builds=100
- --githubConfigDir=https://api.github.com/repos/kubernetes/test-infra/contents/config/jobs/kubernetes/sig-scalability
- --githubConfigDir=https://api.github.com/repos/kubernetes/test-infra/contents/config/jobs/kubernetes/sig-release/release-branch-jobs
imagePullPolicy: Always
ports:
- name: status
containerPort: 8080
livenessProbe:
httpGet:
path: /
port: 8080
initialDelaySeconds: 10
timeoutSeconds: 1
resources:
requests:
cpu: 600m
memory: 8Gi
limits:
cpu: 600m
memory: 8Gi
restartPolicy: Always