-
Notifications
You must be signed in to change notification settings - Fork 0
/
catchup.yaml
38 lines (38 loc) · 1002 Bytes
/
catchup.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
apiVersion: batch/v1
kind: Job
metadata:
name: agrius-belly-catchup
spec:
completions: 32
parallelism: 4
backoffLimit: 24
template:
spec:
restartPolicy: OnFailure
containers:
- name: agrius-belly
image: nandanrao/agrius-belly
resources:
requests:
memory: "1024Mi"
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: "/usr/share/keys/key.json"
- name: GOOGLE_PROJECT_ID
value: "toixotoixo"
- name: GOOGLE_PUBSUB_SUBSCRIPTION
value: "agrius-test-belly"
- name: BELLY_LOCATION
value: "agrius-tweethouse-test"
- name: BELLY_SIZE
value: "30"
- name: LS_JAVA_OPTS
value: "-Xmx1536m -Xms512m"
volumeMounts:
- name: keys
mountPath: /usr/share/keys
readOnly: true
volumes:
- name: keys
secret:
secretName: agrius-belly-keys