Job Delivery

Procedure

This section uses the ResNet-50 model of the MindSpore framework as an example to describe how to deliver a training job.

  1. Log in to the management node and go to the directory where the YAML file is stored.
  2. Run the following command on the management node to deliver a training job using the YAML file:
    kubectl apply -f XXX.yaml
    For example:
    kubectl apply -f a800_vcjob.yaml
    Command output:
    1
    2
    configmap/rings-config-mindx-dls-test created
    job.batch.volcano.sh/mindx-dls-test created
    

    If the YAML file of the job is modified after the job is successfully delivered, run the kubectl delete -f XXX.yaml command to delete the original job and then deliver the job again.