forked from hpi-schul-cloud/jitsi-deployment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jicofo-deployment.yaml
66 lines (66 loc) · 1.82 KB
/
jicofo-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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: jitsi
labels:
k8s-app: jicofo
name: jicofo
spec:
replicas: 1 # one jicofo instance per shard
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
selector:
matchLabels:
k8s-app: jicofo
template:
metadata:
labels:
k8s-app: jicofo
spec:
containers:
- name: jicofo
resources:
limits:
memory: 400Mi
cpu: 400m
requests:
memory: 400Mi
cpu: 400m
image: jitsi/jicofo:stable-4548-1
imagePullPolicy: Always
readinessProbe:
# caution: this readinessProbe tries to create a new conference and hence also fails if
# dependencies (jvb, prosody) are not available
httpGet:
path: /about/health
port: 8888
env:
- name: XMPP_SERVER
value: prosody
- name: XMPP_DOMAIN
value: meet.jitsi
- name: XMPP_AUTH_DOMAIN
value: auth.meet.jitsi
- name: XMPP_INTERNAL_MUC_DOMAIN
value: internal-muc.meet.jitsi
- name: JICOFO_COMPONENT_SECRET
valueFrom:
secretKeyRef:
name: jitsi-config
key: JICOFO_COMPONENT_SECRET
- name: JICOFO_AUTH_USER
value: focus
- name: JICOFO_AUTH_PASSWORD
valueFrom:
secretKeyRef:
name: jitsi-config
key: JICOFO_AUTH_PASSWORD
- name: TZ
value: Europe/Berlin
- name: JVB_BREWERY_MUC
value: jvbbrewery
- name: JICOFO_ENABLE_HEALTH_CHECKS
value: "true"