fix svcs and ports for mrtc

This commit is contained in:
Alexander Rogov
2026-06-14 15:54:05 +03:00
parent b79bda61e9
commit bee3f4d019
4 changed files with 62 additions and 5 deletions

View File

@@ -7,11 +7,17 @@ metadata:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: ghcr.io
chart: element-hq/ess-helm/matrix-stack
targetRevision: 26.6.1
helm:
sources:
- repoURL: http://gitea.gitea.svc.cluster.local:3000/admin/main.git
targetRevision: master
path: manifests/matrix-mrt0rtikize
directory:
recurse: true
include: "*.yaml"
- repoURL: ghcr.io
chart: element-hq/ess-helm/matrix-stack
targetRevision: 26.6.1
helm:
values: |
serverName: mrt0rtikize.ru
@@ -60,6 +66,18 @@ spec:
matrixRTC:
ingress:
host: mrtc.mrt0rtikize.ru
sfu:
manualIP: "81.26.181.240"
useStunToDiscoverPublicIP: false
exposedServices:
rtcTcp:
port: 30009
portType: ClusterIP
nodePort: ""
rtcMuxedUdp:
port: 30008
portType: ClusterIP
nodePort: ""
hookshot:
enabled: true

View File

@@ -31,6 +31,8 @@ spec:
- "--metrics.prometheus=true"
- "--metrics.prometheus.entrypoint=metrics"
- "--entryPoints.ssh.address=:2222/tcp"
- "--entryPoints.rtc-tcp-mrt0rtikize.address=:30009/tcp"
- "--entryPoints.rtc-udp-mrt0rtikize.address=:30008/udp"
- "--providers.kubernetesingress.ingressclass=traefik"
- "--providers.kubernetesingress.ingressendpoint.publishedservice=traefik/traefik"
- "--accesslog=true"
@@ -55,6 +57,18 @@ spec:
protocol: TCP
expose:
default: true
rtc-tcp-mrt0rtikize:
port: 30009
exposedPort: 30009
protocol: TCP
expose:
default: true
rtc-udp-mrt0rtikize:
port: 30008
exposedPort: 30008
protocol: UDP
expose:
default: true
metrics:
port: 9100
expose:

View File

@@ -0,0 +1,13 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRouteTCP
metadata:
name: rtc-tcp
namespace: matrix-mrt0rtikize
spec:
entryPoints:
- rtc-tcp-mrt0rtikize
routes:
- match: HostSNI(`*`)
services:
- name: matrix-mrt0rtikize-matrix-rtc-sfu-tcp
port: 30009

View File

@@ -0,0 +1,12 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRouteUDP
metadata:
name: rtc-udp
namespace: matrix-mrt0rtikize
spec:
entryPoints:
- rtc-udp-mrt0rtikize
routes:
- services:
- name: matrix-mrt0rtikize-matrix-rtc-sfu-muxed-udp
port: 30008