Rate This Document
Findability
Accuracy
Completeness
Readability

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.

  1. On the master 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
    
  2. On the master node, find the node where video1 resides.
    1
    kubectl get pod -A -owide
    

    In the command output, find the row where NAME is video1. The value in the NODE column is the node where video1 resides.

  3. Pre-install required applications (such as Subway Surfers) in the cloud phone container.
  4. 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.