-
Notifications
You must be signed in to change notification settings - Fork 37
Deploy on VCA2 with Gen GFX using Kubernetes
On CDN-Transcode Server, run below command to start VCA2:
Note: Please get vcad file from the VCA2 card owner.
$ vcactl blockio open 0 0 vcablk0 RW vca_disk30_reference_k4.19_ubuntu18.04_5.7.1-0.vcad
$ vcactl wait-BIOS
$ vcactl boot 0 0 vcablk0
$ vcactl status
Card: 0 Cpu: 0 STATE: net_device_ready
If the status is not "net_device_ready", please boot again.
On CDN-Transcode Server, run below command to get the IP of Card 0 Cpu 0:
$ vcactl network ip
Card 0 Cpu 0:
172.31.1.1
On CDN-Transcode Server, run below command to enable VCA2 network:
$ script/enable_nat.sh
On CDN-Transcode Server, run below command to modify node name and reboot:
$ vcactl config 0 0 node-name vca-node00-k8s
$ vcactl reboot 0 0 vcablk0
$ vcactl status
Card: 0 Cpu: 0 STATE: net_device_ready
If the status is not "net_device_ready", please boot again.
On CDN-Transcode Server, run below command to login VCA2
Note: password is vista1
On VCA2, run below command to verify socket:
$ ls /var/lib/kubelet/device-plugins/kubelet.sock
/var/lib/kubelet/device-plugins/kubelet.sock
On VCA2, run below command to enable gpu plugin:
$ script/enable_gpu_plugin.sh
$ /usr/local/go/src/github.com/intel/intel-device-plugins-for-kubernetes/cmd/gpu_plugin/gpu_plugin
GPU device plugin started
Start server for i915 at: /var/lib/kubelet/device-plugins/gpu.intel.com-i915.sock
Device plugin for i915 registered
On CDN-Transcode Server, run below command to check GPU plugin is registered on VCA2:
$ kubectl describe node | grep gpu.intel.com
gpu.intel.com/i915: 1
gpu.intel.com/i915: 1
gpu.intel.com/i915 0 0
On CDN-Transcode Server, run below command to start deployment:
cd build
make start_kubernetes
Note:
- This command must be run as root.
- Make sure Kubenetes is built successfully on all the nodes.
Visit https://<CDN-Transcode Server IP address>/ using web browser, you will see the playlist and then click any of the streams in the playlist to playback.
You can also use Windows VLC player to playback the HTTPs streams provided by the sample service. please run below commands.
vlc https://<CDN-Transcode Server IP address>/hls/big_buck_bunny_1280x720_0/index.m3u8
Powered by Open Visual Cloud media software stack.
- Setup proxy server
- Setup Kubernetes for CentOS
- Setup Kubernetes for Ubuntu
- Setup NFS environment
- Setup Kubernetes Logging
- Setup Kubernetes Monitoring