14 lines
264 B
YAML
14 lines
264 B
YAML
apiVersion: batch/v1
|
|
kind: Job
|
|
metadata:
|
|
name: myjob
|
|
spec:
|
|
ttlSecondsAfterFinished: 100
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: myjobcontainer
|
|
image: busybox
|
|
command: ["ls", "/"]
|
|
restartPolicy: Never
|
|
backoffLimit: 1
|