- Documentation
Volcengine Kubernetes Engine
Volcengine Kubernetes Engine
User guide
Workloads
Creating workloads
Creating Jobs
Creating workloads
Creating Jobs
Creating Jobs
A Job refers to a one-off task that runs after deployment and stops upon successful execution. It corresponds to the Job in Kubernetes. You can create a Job in a cluster by using an image.
Prerequisites
A container image has been created. You can directly use an image from a third-party container registry, or upload an image to the Container Registry (CR) service. To upload an image to CR, see Pushing and pulling images. Use the console
- In the left navigation bar, click Cluster.
- Click Workload > Job in the left navigation bar. On the page that appears, click Create Job.
- Click Confirm in the lower-right corner of the page.
Use kubectl
tip
Before you start creating a Job by using kubectl, make sure that the following conditions are met:
- Create the YAML file of the workload. The code of the job-demo.yaml sample file is as follows:
- Run the following command to create the workload.
Operation result
After the Job is created, you can view the status of the workload on the Workload > Job page. You can click the button in the Actions column to manage the created Job. For more operations, see Managing workloads.
Last updated: 2026.07.24 14:51:37