-
Notifications
You must be signed in to change notification settings - Fork 0
/
beat.yaml
56 lines (56 loc) · 1.44 KB
/
beat.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
53
54
55
56
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
mediacms-service: mediabeat
name: mediabeat
spec:
replicas: 1
selector:
matchLabels:
mediacms-service: mediabeat
strategy:
type: Recreate
template:
metadata:
labels:
mediacms-service: mediabeat
user: mediacms
spec:
securityContext:
runAsUser: 80
runAsGroup: 80
fsGroup: 80
fsGroupChangePolicy: Always
imagePullSecrets:
- name: regcred
containers:
- env:
- name: ENABLE_CELERY_LONG
value: "no"
- name: ENABLE_CELERY_SHORT
value: "no"
- name: ENABLE_CELERY_BEAT
value: "yes"
- name: ENABLE_MIGRATIONS
value: "no"
- name: ENABLE_NGINX
value: "no"
- name: ENABLE_UWSGI
value: "no"
value: "mediacms"
- name: HOME_SERVER
value: "10.2.0.18"
- name: PUBLIC_HOME_SERVER
value: "silo5.sciencedata.dk"
image: sciencedata/mediacms_sciencedata:latest
name: mediabeat
volumeMounts:
- name: nfs-claim-sciencedata-mediacms
mountPath: /home/mediacms.io/mediacms/media_files
readOnly: false
restartPolicy: Always
volumes:
- configMap:
name: mediabeat-cm0
name: mediabeat-cm0