Start some matrix stuff
This commit is contained in:
parent
faacf921af
commit
ba3ca3503f
2 changed files with 64 additions and 0 deletions
11
services/matrix/matrix-pvcs.yaml
Normal file
11
services/matrix/matrix-pvcs.yaml
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: conduit-data
|
||||||
|
namespace: matrix
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 5Gi
|
||||||
53
services/matrix/matrix-service.yaml
Normal file
53
services/matrix/matrix-service.yaml
Normal file
|
|
@ -0,0 +1,53 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: conduit-svc
|
||||||
|
namespace: matrix
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: conduit
|
||||||
|
ports:
|
||||||
|
- protocol: TCP
|
||||||
|
port: 80
|
||||||
|
targetPort: 6167
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: livekit-svc
|
||||||
|
namespace: matrix
|
||||||
|
spec:
|
||||||
|
# Using LoadBalancer to expose the UDP WebRTC ports directly
|
||||||
|
type: LoadBalancer
|
||||||
|
selector:
|
||||||
|
app: livekit
|
||||||
|
ports:
|
||||||
|
- name: http
|
||||||
|
port: 7880
|
||||||
|
targetPort: 7880
|
||||||
|
protocol: TCP
|
||||||
|
- name: rtc-tcp
|
||||||
|
port: 7881
|
||||||
|
targetPort: 7881
|
||||||
|
protocol: TCP
|
||||||
|
- name: rtc-udp
|
||||||
|
port: 7882
|
||||||
|
targetPort: 7882
|
||||||
|
protocol: UDP
|
||||||
|
- name: turn-udp
|
||||||
|
port: 3478
|
||||||
|
targetPort: 3478
|
||||||
|
protocol: UDP
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: lk-jwt-svc
|
||||||
|
namespace: matrix
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: lk-jwt-service
|
||||||
|
ports:
|
||||||
|
- protocol: TCP
|
||||||
|
port: 8080
|
||||||
|
targetPort: 8080
|
||||||
Loading…
Add table
Reference in a new issue