forked from kubernetes/test-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeployment.yaml
30 lines (30 loc) · 830 Bytes
/
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
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: boskos-janitor
labels:
app: boskos-janitor
namespace: test-pods
spec:
replicas: 5 # 5 distributed janitor instances
template:
metadata:
labels:
app: boskos-janitor
spec:
terminationGracePeriodSeconds: 300
containers:
- name: boskos-janitor
image: gcr.io/k8s-testimages/janitor:v20171209-206236aa6
args:
- --service-account=/etc/service-account/service-account.json
- --resource-type=gce-project,gke-project,gci-qa-project,gpu-project,ingress-project
- --pool-size=20
volumeMounts:
- mountPath: /etc/service-account
name: service
readOnly: true
volumes:
- name: service
secret:
secretName: service-account