From ba3ca3503ff2f8bf099c9f21562f5737e21a325d Mon Sep 17 00:00:00 2001 From: KnightArtorias Date: Sat, 20 Jun 2026 21:49:26 -0400 Subject: [PATCH] Start some matrix stuff --- services/matrix/matrix-pvcs.yaml | 11 ++++++ services/matrix/matrix-service.yaml | 53 +++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 services/matrix/matrix-pvcs.yaml create mode 100644 services/matrix/matrix-service.yaml diff --git a/services/matrix/matrix-pvcs.yaml b/services/matrix/matrix-pvcs.yaml new file mode 100644 index 0000000..8ac41f5 --- /dev/null +++ b/services/matrix/matrix-pvcs.yaml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: conduit-data + namespace: matrix +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 5Gi diff --git a/services/matrix/matrix-service.yaml b/services/matrix/matrix-service.yaml new file mode 100644 index 0000000..2a9a5b3 --- /dev/null +++ b/services/matrix/matrix-service.yaml @@ -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