forked from kubernetes/test-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deployment.yaml
48 lines (48 loc) · 1.01 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
45
46
47
48
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: kettle
namespace: kettle
labels:
app: kettle
annotations:
iam.gke.io/gcp-service-account: [email protected]
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: kettle
namespace: kettle
spec:
replicas: 1
selector:
matchLabels:
app: kettle
template:
metadata:
labels:
app: kettle
spec:
serviceAccountName: kettle
containers:
- name: kettle
image: gcr.io/k8s-staging-infra-tools/kettle:latest
imagePullPolicy: Always
env:
- name: DEPLOYMENT
value: prod
- name: SUBSCRIPTION_PATH
value: kubernetes-jenkins/gcs-changes/kettle-filtered
resources:
requests:
memory: 4Gi
limits:
memory: 12Gi
volumeMounts:
- name: data
mountPath: /data
volumes:
- name: data
persistentVolumeClaim:
claimName: kettle-data