Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Kubernetesでハマるメタバースと エッジで夢見る世界観

Kubernetesでハマるメタバースと エッジで夢見る世界観

2022.05.26 OpenShift Lounge+ (#16) - Metaverse

オープンソースのメタバース「VRspace」やビデオ会議のオープンソース「OpenVidu」をKubernetesで実験してみてハマったポイントをご紹介します。そして、将来のエッジコンピューティング×Kubernetesにより期待される世界観をざっくばらんに語ります。

小野佑大

May 26, 2022
Tweet

More Decks by 小野佑大

Other Decks in Technology

Transcript

  1. OpenShift Lounge + 3 VRSpace . VRSpace.org . opensource.com -

    Why I rewrote my open source virtual reality server ü SpringBoot ü WebXR ü 8 (2022 5 26 ) ü OpenVidu
  2. OpenShift Lounge + VRSpace 4 Web Server VR Server Streaming

    Server Database HTTPS glTF WebSocket JSON WebSocket WebRTC Web Browser 3D
  3. OpenShift Lounge + VRSpace 5 Web Client VR Server Streaming

    Server Database UserID / Streaming Web Client Web Client Web Client Web Client 3D
  4. OpenShift Lounge + OpenShift 6 . VRSpace Git . OpenVidu

    STEP I STEP II STEP III Lets Encrypt SSL ü HTTPS VRSpace Build deploy ü GitHub localhost ü fork OpenShift Build OpenVidu deploy ü AWS Cloud Formation Docker deploy ü OpenShift deploy
  5. OpenShift Lounge + AWS or Azure (GCP ) 7 .

    OpenVidu OpenShift Web Browser Kurento StatefulSet OpenVidu Server Deployment LB Service Route Headless Service VRSpace Deployment Route Redis ClusterIP Service OpenVidu Project VRSpace Project UDP 57001 ~ 57011 80 443 ClusterIP Service 5443 6379 3478 ClusterIP Service 8080 80 443 Coturn StatefulSet UDP TCP TCP Internet 8888
  6. OpenShift Lounge + 8 OpenShift OpenVidu Coturn ü TCP UDP

    57001-65535 ü Route NG type: LoadBalancer Service ü gomplate ü mixed Protocol LB Service ü UDP MetalLB allow-shared-ip ports: {{- range seq 0 10}} - name: udp-{{add 57001 .}} port: {{add 57001 .}} protocol: UDP targetPort: {{add 57001 .}} {{- end }}
  7. OpenShift Lounge + Edge server Gateway IPC Endpoint Regional data

    center Infrastructure Edge Provider Far edge Provider Access edge Provider Aggregation edge Core data center Sensor Device . - RAN (DU) WDM RAN (CU) (UPF) (Control Plane) FTTH PE Edge Computing 10
  8. OpenShift Lounge + 14 Niantic Lightship 5 5 ⾒ .

    Niantic Lightship Network Limits and Best Practices . GSMA - Telco Edge Cloud Introduction 30ms KVS Session Manager SessionID: 123 Host Client#1 Client#2 (0,0,0) (-1,-1,0) (1,-1,0) ⾒ Host-Client
  9. OpenShift Lounge + 17 Web Server Kurento Media Server Openvidu

    Server . OpenVidu Coturn Server Redis OpenVidu WebRTC WebSocket Web Browser WebSocket
  10. OpenShift Lounge + 18 Web Server Kurento Media Server Openvidu

    Server . OpenVidu Coturn Server Redis OpenVidu Web Browser NAT STUN/TURN KMS API Proxy