added jitsi resources
generated resources using docker-compose.yml from https://jitsi.github.io/handbook/docs/devops-guide/devops-guide-docker used kompose to generate yamls manually updated files until they fit our conventions
This commit is contained in:
parent
529abf4d46
commit
7b4329e88c
12 changed files with 283 additions and 0 deletions
30
src/main/resources/jitsi/jicofo-deployment.yaml
Normal file
30
src/main/resources/jitsi/jicofo-deployment.yaml
Normal file
|
@ -0,0 +1,30 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: jicofo
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: jicofo
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: jicofo
|
||||
jitsi-network/meet.jitsi: "true"
|
||||
spec:
|
||||
containers:
|
||||
- env:
|
||||
- name: SENTRY_DSN
|
||||
value: '"0"'
|
||||
image: jitsi/jicofo:stable-6865
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: jicofo
|
||||
volumeMounts:
|
||||
- mountPath: /config
|
||||
name: jicofo-claim-config
|
||||
volumes:
|
||||
- name: jicofo-claim-config
|
||||
persistentVolumeClaim:
|
||||
claimName: jicofo-claim-config
|
12
src/main/resources/jitsi/jicofo-pvc.yaml
Normal file
12
src/main/resources/jitsi/jicofo-pvc.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: jicofo-claim-config
|
||||
labels:
|
||||
app: jicofo
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 100Mi
|
41
src/main/resources/jitsi/jvb-deployment.yaml
Normal file
41
src/main/resources/jitsi/jvb-deployment.yaml
Normal file
|
@ -0,0 +1,41 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: jvb
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: jvb
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: jvb
|
||||
jitsi-network/meet.jitsi: "true"
|
||||
service: jvb-service
|
||||
spec:
|
||||
containers:
|
||||
- env:
|
||||
- name: JVB_PORT
|
||||
value: "10000"
|
||||
- name: JVB_TCP_MAPPED_PORT
|
||||
value: "4443"
|
||||
- name: JVB_TCP_PORT
|
||||
value: "4443"
|
||||
- name: SENTRY_DSN
|
||||
value: '"0"'
|
||||
image: jitsi/jvb:stable-6865
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: jvb
|
||||
ports:
|
||||
- containerPort: 10000
|
||||
protocol: UDP
|
||||
- containerPort: 4443
|
||||
volumeMounts:
|
||||
- mountPath: /config
|
||||
name: jvb-claim-config
|
||||
volumes:
|
||||
- name: jvb-claim-config
|
||||
persistentVolumeClaim:
|
||||
claimName: jvb-claim-config
|
12
src/main/resources/jitsi/jvb-pvc.yaml
Normal file
12
src/main/resources/jitsi/jvb-pvc.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: jvb-claim-config
|
||||
labels:
|
||||
app: jvb
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 100Mi
|
11
src/main/resources/jitsi/jvb-service.yaml
Normal file
11
src/main/resources/jitsi/jvb-service.yaml
Normal file
|
@ -0,0 +1,11 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: jvb-service
|
||||
spec:
|
||||
ports:
|
||||
- port: 10000
|
||||
protocol: UDP
|
||||
- port: 4443
|
||||
selector:
|
||||
app: jvb
|
13
src/main/resources/jitsi/networkpolicy.yaml
Normal file
13
src/main/resources/jitsi/networkpolicy.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
apiVersion: extensions/v1beta1
|
||||
kind: NetworkPolicy
|
||||
metadata:
|
||||
name: meet.jitsi
|
||||
spec:
|
||||
ingress:
|
||||
- from:
|
||||
- podSelector:
|
||||
matchLabels:
|
||||
jitsi-network/meet.jitsi: "true"
|
||||
podSelector:
|
||||
matchLabels:
|
||||
jitsi-network/meet.jitsi: "true"
|
37
src/main/resources/jitsi/prosody-deployment.yaml
Normal file
37
src/main/resources/jitsi/prosody-deployment.yaml
Normal file
|
@ -0,0 +1,37 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: prosody
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: prosody
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: prosody
|
||||
jitsi-network/meet.jitsi: "true"
|
||||
service: prosody-service
|
||||
spec:
|
||||
containers:
|
||||
- image: jitsi/prosody:stable-6865
|
||||
imagePullPolicy: IfNotPresend
|
||||
name: prosody
|
||||
ports:
|
||||
- containerPort: 5222
|
||||
- containerPort: 5347
|
||||
- containerPort: 5280
|
||||
volumeMounts:
|
||||
- mountPath: /config
|
||||
name: prosody-claim-config
|
||||
- mountPath: /prosody-plugins-custom
|
||||
name: prosody-claim-plugins
|
||||
volumes:
|
||||
- name: prosody-claim-config
|
||||
persistentVolumeClaim:
|
||||
claimName: prosody-claim-config
|
||||
- name: prosody-claim-plugins
|
||||
persistentVolumeClaim:
|
||||
claimName: prosody-claim-plugins
|
25
src/main/resources/jitsi/prosody-pvc.yaml
Normal file
25
src/main/resources/jitsi/prosody-pvc.yaml
Normal file
|
@ -0,0 +1,25 @@
|
|||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: prosody-claim-config
|
||||
labels:
|
||||
app: prosody
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 100Mi
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: prosody-claim-plugins
|
||||
labels:
|
||||
app: prosody
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 100Mi
|
11
src/main/resources/jitsi/prosody-service.yaml
Normal file
11
src/main/resources/jitsi/prosody-service.yaml
Normal file
|
@ -0,0 +1,11 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: prosody-service
|
||||
spec:
|
||||
ports:
|
||||
- port: 5222
|
||||
- port: 5347
|
||||
- port: 5280
|
||||
selector:
|
||||
app: prosody
|
41
src/main/resources/jitsi/web-deployment.yaml
Normal file
41
src/main/resources/jitsi/web-deployment.yaml
Normal file
|
@ -0,0 +1,41 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: jitsi-web
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: jitsi-web
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: jitsi
|
||||
jitsi-network/meet.jitsi: "true"
|
||||
service: jitsi-web-service
|
||||
spec:
|
||||
containers:
|
||||
- image: jitsi/web:stable-6865
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: jitsi-web
|
||||
ports:
|
||||
- containerPort: 80
|
||||
- containerPort: 443
|
||||
volumeMounts:
|
||||
- mountPath: /config
|
||||
name: web-claim-config
|
||||
- mountPath: /var/spool/cron/crontabs
|
||||
name: web-claim-crontabs
|
||||
- mountPath: /usr/share/jitsi-meet/transcripts
|
||||
name: web-claim-transcripts
|
||||
volumes:
|
||||
- name: web-claim-config
|
||||
persistentVolumeClaim:
|
||||
claimName: web-claim-config
|
||||
- name: web-claim-crontabs
|
||||
persistentVolumeClaim:
|
||||
claimName: web-claim-crontabs
|
||||
- name: web-claim-transcripts
|
||||
persistentVolumeClaim:
|
||||
claimName: web-claim-transcripts
|
38
src/main/resources/jitsi/web-pvc.yaml
Normal file
38
src/main/resources/jitsi/web-pvc.yaml
Normal file
|
@ -0,0 +1,38 @@
|
|||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: web-claim-config
|
||||
labels:
|
||||
app: jitsi
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 100Mi
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: web-claim-crontabs
|
||||
labels:
|
||||
app: jitsi
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 100Mi
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: web-claim-transcripts
|
||||
labels:
|
||||
app: jitsi
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 100Mi
|
12
src/main/resources/jitsi/web-service.yaml
Normal file
12
src/main/resources/jitsi/web-service.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: jitsi-web-service
|
||||
spec:
|
||||
selector:
|
||||
app: jitsi-web
|
||||
ports:
|
||||
- port: 8000
|
||||
- port: 8443
|
||||
selector:
|
||||
service: jitsi-web-service
|
Loading…
Reference in a new issue