Delivering a Training Job

Procedure

  1. Run the following command on the master node to create a namespace for the training job:
    kubectl create namespace vcjob
  2. Run the following command on the master node to deliver a training job using the YAML file:
    kubectl apply -f XXX.yaml

    Example:

    kubectl apply -f a800_vcjob.yaml

    The command output is as follows:

    root@ubuntu:/home/test/yaml# kubectl apply -f a800_vcjob.yaml 
    configmap/rings-config-mindx-dls-test created
    job.batch.volcano.sh/mindx-dls-test created