-
Notifications
You must be signed in to change notification settings - Fork 0
/
qed-celery-deployment.yml
49 lines (49 loc) · 1.08 KB
/
qed-celery-deployment.yml
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
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
labels:
app: qed-celery
name: qed-celery
spec:
replicas: 1
strategy:
type: Recreate
template:
metadata:
labels:
app: qed-celery
spec:
containers:
- command:
- celery
- worker
- -A
- celery_cgi
- -Q
- qed
- --loglevel=DEBUG
- -n
- qed-worker
env:
- name: DOCKER_HOSTNAME
value: QED-KUBERNETES
- name: REDIS_HOSTNAME
value: redis
image: quanted/flask_qed:dev_kube
imagePullPolicy: Always
name: qed-celery
volumeMounts:
- mountPath: /src/pram_flask/ubertool/ubertool/sam/bin
name: sam-bin
- mountPath: /src/hms_flask/data/qed-basins
name: qed-basins
restartPolicy: Always
volumes:
- hostPath:
path: K:\qed_kube\data\sam-bin
type: Directory
name: sam-bin
- hostPath:
path: K:\qed_kube\data\qed-basins
type: Directory
name: qed-basins