- 快召唤伙伴们来围观吧
- 微博 QQ QQ空间 贴吧
- 文档嵌入链接
- 复制
- 微信扫一扫分享
- 已成功复制到剪贴板
Full scalable Media Cloud Solution with Kubernetes Orchestration
展开查看详情
1 .Full Scalable Media cloud solution with Kubernetes orchestration Zhenyu Wang , Xin ( Owen ) Zhang
2 .Agenda M edia in the Network and Cloud Intel Media Server Reference Software Stack Container with MSS enablement Kubernetes with Container integration Kubernetes with Container enabling on VCA2 Kubernetes device plugin/Intel GPU plugin Use Case(1080p): VCA transcoding & k8s scheduling on VCA nodes
3 .Media in the Network and Cloud Video Delivery Cloud and Comms: Ingest / Storage / Edge Transcode / Trans-size / Trans-rate Video Conferencing Visual Understanding Object Recognition & Tracking Indexing / Search Smart Cities, Security and Surveillance Graphics in the Cloud Remote Desktop Remote Workstation Cloud Gaming Rendering
4 .Intel® Media Server Reference Software Stack Guest Host Xen * Docker * KVM VMWare * OS (Windows * Server, Linux Server) HyperV Guest OS (Linux) Provisioning OpenStack * Linux 3.x/4.x Kernel Intel® Media Server Studio Software Video Codecs i915 Driver Software Audio Codecs Streaming Media Applications Hardware Acceleration Path OpenGL * Intel® SDK for OpenCL ™ Intel® HD Graphics Driver for Linux * Video Conference Video Surveillance Guest Media Software Stack Host & Hypervisor Cloud Management Video Index/Search Kubernetes FFmpeg-qsv Container
5 .Container with MSS integration More Dockers can run than VMs Almost same performance with Native Package application and dependencies integrated Share same kernel as host No need to provide hardware based isolation
6 .Kubernetes with Container integration O rchestrate intelligent scheduling, self-healing, and horizontal scaling for rapid delivery of apps. Easy to customize the worker nodes. CPU/memory resources control. Proxy Kubectl K8s Dashboard Kube- Scheduler etcd Controller Manager API server Authentication control Container Registry Kubelet Proxy Docker pod Docker pod Docker pod Kubelet Proxy Docker pod Docker pod Docker pod Streams Pool Media transcoding services Media transcoding services Master Node Node
7 .Kubernetes with Container enabling on VCA2 Intel® Visual Compute Accelerator 2 (Intel® VCA 2) (VCA1585LMV) Intel® Xeon® Scalable processor and Intel® Xeon® processor E5-based platforms with Iris® Pro Graphics and Intel® Quick Sync Video media transcode capabilities Applications include : Broadcast – Ultra-high channel density with high visual quality. Remotely rendered graphics – High video quality, low latency graphics for enterprise productivity and anytime anywhere gaming. Multi-party communication – Video-enabled B2B, B2C, and C2C communication with massive scaling
8 .Kubernetes with Container enabling on VCA2
9 .Kubernetes with Container enabling on VCA2 Each VCA CPU is one k8s node In one physical server it is possible to use up to 3 VCA2 PCIe cards Up to 9 k8s nodes in one physical server Image registry Master node1 node2 node3 Kubelet Kubelet Kubelet
10 .Kubernetes device plugin k8s version 1.8 above The device plugins feature is gated by the DevicePlugins feature gate Default enabled after k8s 1.10
11 .Intel GPU device plugin Enumerate all DRM devices for Intel GPU /dev/ dri /card[0-9]* /dev/ dri / renderD [0-9]* Create server and sock / var /lib/ kubelet /device-plugins/ intelGPU.sock Register resource to kubelet Resource name: “intel.com/ gpu ” Serve “ ListAndWatch ” request Send device id and healthy Serve “Allocate” request Return device id’s HostPath / ContainerPath to assign
12 .Use of Intel GPU plugin https://github.com/intel/intel-device-plugins-for-kubernetes
13 .Use Case(1080p): Media transcoding on VCA the performance compare of number of real time streams between per VCA card and per Iris P580 MEDIA TRANSCODING Number of real time streams per card @30fps 1080p H.264 -> H.264 45 H.264 -> H.265 39 H.265 -> H.265 24
14 .Use Case(1080p): k8s scheduling on VCA nodes
15 .