Job Deletion
Procedure
Run the following command in the path of the sample YAML file to delete the corresponding training job:
kubectl delete -f XXX.yaml
- The following is an example of configuring resource information using the environment variables:
kubectl delete -f tensorflow_standalone_acjob.yaml
Command output:1ascendjob.mindxdl.gitee.com "default-test-tensorflow" deleted
- The following is an example of configuring resource information using a file:
kubectl delete -f a800_tensorflow_vcjob.yamlCommand output:1 2
configmap "rings-config-mindx-dls-test" deleted job.batch.volcano.sh "mindx-dls-test" deleted
If pod remains in the Terminating status after a training job is deleted, rectify the fault by referring to Pod Remains in the Terminating State After vcjob Is Manually Deleted.
Parent topic: Use on the CLI (Volcano)