apiVersion: batch/v1
kind: Job
metadata:
name: pi
spec:
parallelism: 1 (1)
completions: 1 (2)
activeDeadlineSeconds: 1800 (3)
backoffLimit: 6 (4)
template: (5)
metadata:
name: pi
spec:
containers:
- name: pi
image: perl
command: ["perl", "-Mbignum=bpi", "-wle", "print bpi(2000)"]
restartPolicy: OnFailure (6)
#...