This message was deleted.
# helpdesk
s
This message was deleted.
a
Hey, I am running a similar setup successfully. It might not be the best setup for performance but it works. Here are the changes required, pending a review and hopefully a merge.
r
Thanks for the reply. What I fail to understand is how to correctly exchange IP/Connection info for clients if nodes can't open ports as they like. Do you tunnel everything through nginx/LB?
a
r
Would you happen to have the Service/Ingress config you use available? I'm aware of this nginx functionality but wonder how to correctly implement it with livekit
a
with the PR, this should be enough for the service, you only need to add the exposing to your ingress-nginx config
then something like
Copy code
apiVersion: <http://networking.k8s.io/v1|networking.k8s.io/v1>
kind: Ingress
metadata:
  name: livekit-server
  namespace: ${module.config.values.namespace}
  annotations:
    <http://cert-manager.io/cluster-issuer|cert-manager.io/cluster-issuer>: letsencrypt
    <http://nginx.ingress.kubernetes.io/proxy-read-timeout|nginx.ingress.kubernetes.io/proxy-read-timeout>: 3600
    <http://nginx.ingress.kubernetes.io/proxy-send-timeout|nginx.ingress.kubernetes.io/proxy-send-timeout>: 3600
spec:
  ingressClassName: nginx
  tls:
    - hosts:
        - ${module.config.values.domain_live}
      secretName: live-tls
  rules:
    - host: ${module.config.values.domain_live}
      http:
        paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: livekit-livekit-server
                port:
                  number: 80
r
Thanks for the info, I'll see if I can get it done
m
Hi @rich-pharmacist-13082 we have been playing around with STUNner and Livekit to get rid of the "direct reachability" problem in k8s, and we used LB service and nodePort. However, we took some steps to test it with metalLB (paused right now), feel free to open an issue here if you feel like it could be useful feature for you: https://github.com/l7mp/stunner/tree/main/examples/livekit