-
Notifications
You must be signed in to change notification settings - Fork 88
/
Copy pathweb-deployment.yaml
85 lines (85 loc) · 2.38 KB
/
web-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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: jitsi
labels:
k8s-app: web
name: web
spec:
replicas: 1 # one web instance per shard
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
selector:
matchLabels:
k8s-app: web
template:
metadata:
labels:
k8s-app: web
spec:
volumes:
- name: web
configMap:
name: web
items:
- key: welcomePageAdditionalContent.html
path: welcomePageAdditionalContent.html
- key: plugin.head.html
path: plugin.head.html
- key: config.js
path: config.js
- key: interface_config.js
path: interface_config.js
containers:
- name: web
resources:
limits:
memory: 300Mi
cpu: 400m
requests:
memory: 300Mi
cpu: 400m
image: jitsi/web:stable-4548-1
imagePullPolicy: Always
readinessProbe:
httpGet:
port: 80
volumeMounts:
- name: web
mountPath: /usr/share/jitsi-meet/static/welcomePageAdditionalContent.html
subPath: welcomePageAdditionalContent.html
- name: web
mountPath: /usr/share/jitsi-meet/plugin.head.html
subPath: plugin.head.html
- name: web
mountPath: /defaults/config.js
subPath: config.js
- name: web
mountPath: /defaults/interface_config.js
subPath: interface_config.js
env:
- name: DISABLE_HTTPS
value: "1"
- name: HTTP_PORT
value: "80"
- name: XMPP_SERVER
value: prosody
- name: JICOFO_AUTH_USER
value: focus
- 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: XMPP_BOSH_URL_BASE
value: http://prosody:5280
- name: XMPP_MUC_DOMAIN
value: muc.meet.jitsi
- name: TZ
value: Europe/Berlin
- name: JVB_TCP_HARVESTER_DISABLED
value: "true"