Ingress
The chart can publish its services with the Gateway API (HTTPRoute) or with classic Kubernetes Ingress. Nothing is exposed until you enable one of them: the gateway has no public route by default.
Gateway API (recommended)
Section titled “Gateway API (recommended)”Set your Gateway once. Every component that has a public hostname follows it:
global: gatewayApi: enabled: true parentRefs: - name: my-gateway namespace: gateway-systemThis covers the gateway, Matrix Authentication Service, Element Web, Element Admin and MatrixRTC. The Ingress of Matrix Authentication Service is then dropped. A component’s own route block wins over the global setting, for example to use a different Gateway or explicit hostnames:
gateway: route: hostnames: [matrix.example.com] parentRefs: - name: other-gateway namespace: gateway-systemLeave route.hostnames empty to use the names derived from global.serverName.
Classic Ingress
Section titled “Classic Ingress”Each component also has an ingress block (enabled, host or hostnames, className, TLS). Use it when the cluster has no Gateway API. Matrix Authentication Service renders an Ingress by default for account.<serverName>, using the cluster’s default IngressClass. Set matrix-authentication-service.ingress.className and host if you need a specific class.
Do not enable both an ingress and a route for the same hostname.
Matrix RTC media
Section titled “Matrix RTC media”Calls need raw TCP and UDP traffic in addition to HTTPS, and a classic Ingress cannot carry that. The LiveKit SFU publishes these ports through the same ingress layer, as ClusterIP Services behind routes (never NodePorts):
| Port | Protocol | Purpose |
|---|---|---|
matrixRTC.sfu.exposedServices.rtcTcp.port (default 30001) | TCP | ICE over TCP |
matrixRTC.sfu.exposedServices.rtcMuxedUdp.port (default 30002) | UDP | ICE over UDP, muxed |
3478 (optional) | UDP | TURN relay (matrixRTC.sfu.exposedServices.turn.enabled) |
5349 (optional) | TCP | TURN over TLS (matrixRTC.sfu.exposedServices.turnTLS.enabled) |
LiveKit advertises each port to clients as its ICE candidate, so the port in the chart values must be the port your ingress controller listens on. Open the same ports in any firewall in front of the cluster.
Which route kind carries the raw ports depends on the controller:
TCPRouteandUDPRoutefrom the Gateway API, where your implementation supports them.- For Traefik without TCPRoute support, set
global.gatewayApi.tcpRouteKind: IngressRouteTCP. UDP then usesIngressRouteUDP.
If two Vesicle installs share one cluster or one public address, give each its own pair of ports.
Terminate TLS on the Gateway or the Ingress. Vesicle expects HTTPS on every public hostname listed in DNS and hostnames.