apiVersion: batch/v1
kind: Job
metadata:
  name: pi-parallel-job
spec:
  parallelism: 2
  activeDeadlineSeconds: 120
  backoffLimit: 4

  template:
    spec:
      containers:
        - name: pi
          image: perl
          command: ["perl",  "-Mbignum=bpi", "-wle", "print bpi(200)"]
      restartPolicy: Never