How to: Lab 6.4. Working with Jobs
1. Create a Job `myjob1` with a suitable image that runs the command `echo Lab 6.4. Jobs!`
2. List jobs and pods
3. Review the details of `myjob1`
4. Review the yaml form of `myjob1`
5. Create another Job `myjob2` with a suitable image that runs the command `date`
6. List jobs and pods
7. Repeat [4] using a manifest file with name `myjob3`
8. List jobs and pods
9. Delete all jobs created
10. List jobs and pods
11. Edit the manifest file and add the following:
    - 5 pods successfully run the command
    - pods are auto deleted after 30secs
12. Apply the new manifest and:
    - confirm the new changes work as expected
    - note the total number of resources created
    - note the behaviour after 30secs
13. Delete created resources
14. Review the Job spec to understand fields related to working with jobs
15. Review the Kubernetes API Resources to determine when jobs was introduced
lab6.4 solution
```sh
kubectl explain job.spec | less
kubectl create job myjob1 --image=busybox -- echo Lab 6.4. Jobs!
kubectl get jobs,pods
kubectl describe job myjob1
kubectl get jobs myjob1 -o yaml
kubectl create job myjob2 --image=busybox -- date
kubectl get jobs,pods
kubectl create job myjob3 --image=busybox --dry-run=client -o yaml -- date >> lab6-4.yaml
kubectl apply -f lab6-4.yaml
kubectl get jobs,pods # so many pods!
kubectl delete jobs myjob1 myjob2 myjob3
kubectl get jobs,pods # pods auto deleted!
nano lab6-4.yaml
```

```yaml