Configuring the TURN server for Kubernetes

You can configure the Sametime Meeting server to enable a TURN server on port 443 for Kubernetes.

Procedure

  1. Update the helm/charts/jitsi/templates/deployment.yaml file.
    Locate the MEETING_PROSODY_SERVICE_SECRET value and place the following variables after it. Ensure that the syntax for the YAML file is followed.
     - name: GLOBAL_MODULES
              value: "turncredentials"
            - name: TURN_ENABLE
              value: "1"
            - name: TURN_SECRET
              value: "secret"
            - name: TURN_HOST
              value: "TURN-server-name"
            - name: TURN_PORT
              value: "443"
            - name: TURN_TRANSPORT
              value: "tcp"
    
  2. Update the helm/charts/web/templates/deployment.yaml file.
    Locate the ENABLE_CHROME_UNIFIED_PLAN value and place the following variables after it. Ensure that the syntax for the YAML file is followed.
    - name: TURN_ENABLE
              value: "1"
    
  3. Run the helm update command to apply the changes to your registry.
  4. Run the following commands to update the deployment.
    
    kubectl set env deploy/jitsi -e GLOBAL_MODULES=turncredentials -e TURN_ENABLE=1 -e TURN_SECRET=<SECRET> -e TURN_HOST=<<TURN-server-name>> -e TURN_PORT=443 -e TURN_TRANSPORT=tcp
    kubectl set env deploy/web -e TURN_ENABLED=1