apiVersion: batch/v1beta1
kind: CronJob
metadata:
  name: pi-cron-job
spec:
  schedule: "*/1 * * * *"
  concurrencyPolicy: Allow

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