Skip to content

Latest commit

 

History

History
45 lines (22 loc) · 711 Bytes

README.md

File metadata and controls

45 lines (22 loc) · 711 Bytes

Creating Your First Kubernetes Job

Non-parallel job

Create a job using following command:

$ kubectl create -f non-parallel-job.yml

Look at the job:

$ kubectl get jobs

Watch the pod status:

$ kubectl get -w pods

Delete a job:

$ kubectl delete -f non-parallel-job.yml

Multiple Parallel Jobs (Work Queue)

Parallel job

Create a job using following command:

$ kubectl create -f parallel-job.yml

Look at the job:

$ kubectl get jobs

Watch the pod status

$ kubectl get -w pods

Delete a job:

$ kubectl delete -f parallel-job.yml

Contributors

Sangam Biradar