Creating a Base Data Volume
This section demonstrates how to create a base data volume for setting storage isolation and size of a container on a worker node.
- On the worker node, run the k8s-video.sh script to start a cloud phone. The following uses video1 as an example:
1./k8s-video.sh start 1
- On the worker node, find the node where video1 resides.
1kubectl get pod -A -o wide
In the command output, find the row where NAME is video1. The value in the NODE column is the node where video1 resides.
- Pre-install required applications (such as Subway Surfers) in the cloud phone container.
- Log in to the node where video1 resides. The base data volume is stored in /home/mount/img/video1.img. Rename the image file videobase.img and copy it to the /home/mount/img directory on each worker node. If you want to use videobase.img as the data volume, perform operations based on 1.
Parent topic: Operating a Video Stream Cloud Phone Instance