2026-06-20 21:49:26 -04:00
|
|
|
apiVersion: v1
|
|
|
|
|
kind: Service
|
|
|
|
|
metadata:
|
2026-06-22 18:48:26 -04:00
|
|
|
name: synapse-svc
|
2026-06-20 21:49:26 -04:00
|
|
|
namespace: matrix
|
|
|
|
|
spec:
|
|
|
|
|
selector:
|
2026-06-22 18:48:26 -04:00
|
|
|
app: synapse
|
2026-06-20 21:49:26 -04:00
|
|
|
ports:
|
|
|
|
|
- protocol: TCP
|
2026-06-22 18:48:26 -04:00
|
|
|
port: 8008
|
|
|
|
|
targetPort: 8008
|
|
|
|
|
---
|
|
|
|
|
apiVersion: v1
|
|
|
|
|
kind: Service
|
|
|
|
|
metadata:
|
|
|
|
|
name: postgres-svc
|
|
|
|
|
namespace: matrix
|
|
|
|
|
spec:
|
|
|
|
|
selector:
|
|
|
|
|
app: postgres
|
|
|
|
|
ports:
|
|
|
|
|
- protocol: TCP
|
|
|
|
|
port: 5432
|
|
|
|
|
targetPort: 5432
|
|
|
|
|
---
|
|
|
|
|
apiVersion: v1
|
|
|
|
|
kind: Service
|
|
|
|
|
metadata:
|
|
|
|
|
name: mas-svc
|
|
|
|
|
namespace: matrix
|
|
|
|
|
spec:
|
|
|
|
|
selector:
|
|
|
|
|
app: mas
|
|
|
|
|
ports:
|
|
|
|
|
- protocol: TCP
|
|
|
|
|
port: 8080
|
|
|
|
|
targetPort: 8080
|
2026-06-20 21:49:26 -04:00
|
|
|
---
|
|
|
|
|
apiVersion: v1
|
|
|
|
|
kind: Service
|
|
|
|
|
metadata:
|
|
|
|
|
name: livekit-svc
|
|
|
|
|
namespace: matrix
|
2026-06-21 18:01:24 -04:00
|
|
|
annotations:
|
|
|
|
|
# Tell MetalLB to assign this specific IP from the nest-lb-pool
|
|
|
|
|
metallb.universe.tf/loadBalancerIPs: 192.168.1.160
|
2026-06-20 21:49:26 -04:00
|
|
|
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
|