Question --------- This post is regarding the mig...
# ingress
b
Question --------- This post is regarding the migration of a LiveKit VM-based deployment, currently running with the below setup: A three-node, VM-based cluster for the LiveKit media service. Each corresponding node is configured with a Public IP, meaning we are using three public IPs. Requirements: ------------- I would like to migrate the LiveKit media VM-based deployment to a Kubernetes-based one. I am proposing the flow should be as follows: Signaling HTTP/HTTPS calls are handled from an HAProxy Load Balancer (port 443) --> to an Ingress Controller (for SSL offloading) --> to the backend media apps. The media apps share an FQDN URL, a Public IP address, and UDP port 3478, along with client ports 40000-60000/UDP. Challenge: ---------- After completing the setup and handling the signaling HTTP/HTTPS traffic via the HAProxy LB and Ingress (because Ingress only supports TCP/HTTP/HTTPS traffic), a challenge remains. Once a client device (e.g., a mobile phone with a chat app that has a built-in call feature) receives the information from the media apps in step 2 (regarding the public IP and UDP ports to make a WebSocket connection on port 3478/UDP and distribute client ports 40000-50000), how do we address this in Kubernetes? The Ingress controller cannot handle this UDP traffic directly. Furthermore, I would like to use a single public IP address for the LiveKit server instead of three. Can I use the HAProxy Load Balancer (Enterprise version) public IP and use SNI to connect to LiveKit? Or do we need to use a new public IP for LiveKit by making its Kubernetes Service type LoadBalancer? Please suggest the architecture and flow for migrating LiveKit from a VM-based to a Kubernetes-based deployment.