-
Notifications
You must be signed in to change notification settings - Fork 17
/
deployment.yaml
executable file
·52 lines (52 loc) · 1.19 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
49
50
51
52
apiVersion: apps/v1
kind: Deployment
metadata:
name: igneous
labels:
app: igneous
spec:
replicas: 16
selector:
matchLabels:
app: igneous
template:
metadata:
labels:
app: igneous
spec:
dnsPolicy: Default
containers:
- name: igneous
image: seunglab/igneous
volumeMounts:
- name: secrets
mountPath: "/root/.cloudvolume/secrets"
readOnly: true
- name: tmp
mountPath: "/tmp"
readOnly: false
- mountPath: /dev/shm
name: dshm
readOnly: false
imagePullPolicy: Always
resources:
requests:
memory: 2.5Gi
limits:
memory: 7.0Gi
env:
- name: QUEUE_TYPE
value: aws
- name: SQS_URL
value: 'https://sqs.us-east-1.amazonaws.com/$DIGITS/$QUEUE_NAME'
- name: LEASE_SECONDS
value: "800"
volumes:
- name: secrets
secret:
secretName: secrets
- name: tmp
emptyDir: { medium: "Memory" }
- name: dshm
emptyDir:
medium: Memory